Skip to content

Commit df7bdcd

Browse files
[DOC] Enhanced doc for ERB.version (#72)
1 parent aae3a5b commit df7bdcd

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

lib/erb.rb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,17 @@ class ERB
615615
Revision = '$Date:: $' # :nodoc: #'
616616
deprecate_constant :Revision
617617

618-
# Returns revision information for the erb.rb module.
618+
# :markup: markdown
619+
#
620+
# :call-seq:
621+
# self.version -> string
622+
#
623+
# Returns the string revision for \ERB:
624+
#
625+
# ```
626+
# ERB.version # => "4.0.4"
627+
# ```
628+
#
619629
def self.version
620630
VERSION
621631
end

0 commit comments

Comments
 (0)