Class: JpStringsFinder::RubyFinder::RipperCustom
- Inherits:
-
Ripper
- Object
- Ripper
- JpStringsFinder::RubyFinder::RipperCustom
- Defined in:
- lib/jp_strings_finder/ruby_finder.rb
Instance Attribute Summary collapse
-
#strings ⇒ Object
readonly
Returns the value of attribute strings.
Instance Method Summary collapse
-
#initialize(src) ⇒ RipperCustom
constructor
A new instance of RipperCustom.
- #on_tstring_content(str) ⇒ Object
Constructor Details
#initialize(src) ⇒ RipperCustom
Returns a new instance of RipperCustom.
8 9 10 11 |
# File 'lib/jp_strings_finder/ruby_finder.rb', line 8 def initialize(src) super(src) @strings = [] end |
Instance Attribute Details
#strings ⇒ Object (readonly)
Returns the value of attribute strings.
6 7 8 |
# File 'lib/jp_strings_finder/ruby_finder.rb', line 6 def strings @strings end |
Instance Method Details
#on_tstring_content(str) ⇒ Object
13 14 15 |
# File 'lib/jp_strings_finder/ruby_finder.rb', line 13 def on_tstring_content(str) @strings << str end |