Skip to content

Commit b0ccb1e

Browse files
BurdetteLamark0kubun
authored andcommitted
[DOC] Remove example from ERB.version (will get out-of-date)
1 parent b629d57 commit b0ccb1e

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

lib/erb.rb

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -777,12 +777,7 @@ class ERB
777777
# :call-seq:
778778
# self.version -> string
779779
#
780-
# Returns the string revision for \ERB:
781-
#
782-
# ```
783-
# ERB.version # => "4.0.4"
784-
# ```
785-
#
780+
# Returns the string \ERB version.
786781
def self.version
787782
VERSION
788783
end
@@ -817,7 +812,7 @@ def self.version
817812
# The string value of keyword argument `eoutvar` specifies the name of the variable
818813
# that method #result uses to construct its result string;
819814
# see #src.
820-
#
815+
#
821816
# This is useful when you need to run multiple \ERB templates through the same binding
822817
# and/or when you want to control where output ends up.
823818
#

0 commit comments

Comments
 (0)