Class: Output::Text
- Inherits:
-
Object
- Object
- Output::Text
- Defined in:
- lib/output/text.rb
Instance Method Summary collapse
-
#initialize(grepmate) ⇒ Text
constructor
A new instance of Text.
- #process ⇒ Object
Constructor Details
#initialize(grepmate) ⇒ Text
Returns a new instance of Text.
3 4 5 |
# File 'lib/output/text.rb', line 3 def initialize(grepmate) @grepmate = grepmate end |
Instance Method Details
#process ⇒ Object
7 8 9 |
# File 'lib/output/text.rb', line 7 def process puts @grepmate.results end |