summaryrefslogtreecommitdiff
path: root/lib/erb.rb
diff options
context:
space:
mode:
-rw-r--r--lib/erb.rb10
1 files changed, 8 insertions, 2 deletions
@@ -257,7 +257,7 @@ require "cgi/util"
# Rails, the web application framework, uses ERB to create views.
#
class ERB
- Revision = '$Date:: $' #'
# Returns revision information for the erb.rb module.
def self.version
@@ -800,6 +800,9 @@ class ERB
@filename = nil
end
def make_compiler(trim_mode)
ERB::Compiler.new(trim_mode)
end
@@ -847,8 +850,11 @@ class ERB
end
end
def new_toplevel
- # New binding each time *near* toplevel for unspecified runs
TOPLEVEL_BINDING.dup
end
private :new_toplevel