summaryrefslogtreecommitdiff
path: root/lib/erb.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/erb.rb')
-rw-r--r--lib/erb.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/erb.rb b/lib/erb.rb
index 48e0505157..17dc557929 100644
--- a/lib/erb.rb
+++ b/lib/erb.rb
@@ -258,10 +258,11 @@ require 'erb/version'
#
class ERB
Revision = '$Date:: $' # :nodoc: #'
+ deprecate_constant :Revision
# Returns revision information for the erb.rb module.
def self.version
- "erb.rb [#{VERSION} #{ERB::Revision.split[1]}]"
+ VERSION
end
end