Class: Gigbot::Formatters::Base
- Inherits:
-
Object
- Object
- Gigbot::Formatters::Base
- Defined in:
- lib/gigbot/formatters/base.rb
Instance Attribute Summary collapse
-
#gig ⇒ Object
readonly
Returns the value of attribute gig.
Instance Method Summary collapse
-
#initialize(gig) ⇒ Base
constructor
A new instance of Base.
- #to_s ⇒ Object
Constructor Details
#initialize(gig) ⇒ Base
Returns a new instance of Base.
4 5 6 |
# File 'lib/gigbot/formatters/base.rb', line 4 def initialize(gig) @gig = gig end |
Instance Attribute Details
#gig ⇒ Object (readonly)
Returns the value of attribute gig.
8 9 10 |
# File 'lib/gigbot/formatters/base.rb', line 8 def gig @gig end |
Instance Method Details
#to_s ⇒ Object
10 11 12 |
# File 'lib/gigbot/formatters/base.rb', line 10 def to_s gig.to_s end |