Class: RelatedWord::Formatter::BaseFormatter
- Inherits:
-
Object
- Object
- RelatedWord::Formatter::BaseFormatter
- Defined in:
- lib/related_word/formatter/base_formatter.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#resp ⇒ Object
readonly
Returns the value of attribute resp.
Instance Method Summary collapse
-
#initialize(resp) ⇒ BaseFormatter
constructor
A new instance of BaseFormatter.
Constructor Details
#initialize(resp) ⇒ BaseFormatter
Returns a new instance of BaseFormatter.
6 7 8 |
# File 'lib/related_word/formatter/base_formatter.rb', line 6 def initialize(resp) @resp = resp end |
Instance Attribute Details
#resp ⇒ Object (readonly)
Returns the value of attribute resp.
4 5 6 |
# File 'lib/related_word/formatter/base_formatter.rb', line 4 def resp @resp end |