Class: JpStringsFinder::ERBFinder
- Inherits:
-
Object
- Object
- JpStringsFinder::ERBFinder
- Defined in:
- lib/jp_strings_finder/erb_finder.rb
Instance Attribute Summary collapse
-
#src ⇒ Object
readonly
Returns the value of attribute src.
Instance Method Summary collapse
-
#find ⇒ Object
Very very rough implementation for the moment…
-
#initialize(src) ⇒ ERBFinder
constructor
A new instance of ERBFinder.
Constructor Details
#initialize(src) ⇒ ERBFinder
Returns a new instance of ERBFinder.
5 6 7 |
# File 'lib/jp_strings_finder/erb_finder.rb', line 5 def initialize(src) @src = src end |
Instance Attribute Details
#src ⇒ Object (readonly)
Returns the value of attribute src.
3 4 5 |
# File 'lib/jp_strings_finder/erb_finder.rb', line 3 def src @src end |
Instance Method Details
#find ⇒ Object
Very very rough implementation for the moment…
10 11 12 |
# File 'lib/jp_strings_finder/erb_finder.rb', line 10 def find src.split("\n") end |