Class: Comma::Extractor
Direct Known Subclasses
Instance Method Summary collapse
- #id(*args) ⇒ Object
-
#initialize(instance, &block) ⇒ Extractor
constructor
A new instance of Extractor.
- #results ⇒ Object
Constructor Details
#initialize(instance, &block) ⇒ Extractor
Returns a new instance of Extractor.
5 6 7 8 9 |
# File 'lib/comma/extractors.rb', line 5 def initialize(instance, &block) @instance = instance @block = block @results = [] end |