We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b629d57 commit b0ccb1eCopy full SHA for b0ccb1e
lib/erb.rb
@@ -777,12 +777,7 @@ class ERB
777
# :call-seq:
778
# self.version -> string
779
#
780
- # Returns the string revision for \ERB:
781
- #
782
- # ```
783
- # ERB.version # => "4.0.4"
784
785
+ # Returns the string \ERB version.
786
def self.version
787
VERSION
788
end
@@ -817,7 +812,7 @@ def self.version
817
812
# The string value of keyword argument `eoutvar` specifies the name of the variable
818
813
# that method #result uses to construct its result string;
819
814
# see #src.
820
815
+ #
821
816
# This is useful when you need to run multiple \ERB templates through the same binding
822
# and/or when you want to control where output ends up.
823
0 commit comments