From 0f013bacb3fa1e84c2e16407b843730be9a8186e Mon Sep 17 00:00:00 2001 From: BurdetteLamar Date: Tue, 16 Sep 2025 19:07:36 +0100 Subject: [PATCH] =?UTF-8?q?[DOC]=20=C2=94Enhanced=20doc=20for=20ERB.versio?= =?UTF-8?q?n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/erb.rb | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/lib/erb.rb b/lib/erb.rb index 9a91f76..c90ce85 100644 --- a/lib/erb.rb +++ b/lib/erb.rb @@ -615,7 +615,17 @@ class ERB Revision = '$Date:: $' # :nodoc: #' deprecate_constant :Revision - # Returns revision information for the erb.rb module. + # :markup: markdown + # + # :call-seq: + # self.version -> string + # + # Returns the string revision for \ERB: + # + # ``` + # ERB.version # => "4.0.4" + # ``` + # def self.version VERSION end