Class: ConfBuilder::Lightning_talk
Instance Attribute Summary
Attributes inherited from Talk
#duration, #duration_unit, #speaker, #title
Instance Method Summary collapse
-
#initialize(params) ⇒ Lightning_talk
constructor
A new instance of Lightning_talk.
- #to_s ⇒ Object
Constructor Details
#initialize(params) ⇒ Lightning_talk
Returns a new instance of Lightning_talk.
7 8 9 10 11 12 |
# File 'lib/lightning_talk.rb', line 7 def initialize(params) super(params) @duration = 5 @duration_unit = 'minute' self end |
Instance Method Details
#to_s ⇒ Object
14 15 16 |
# File 'lib/lightning_talk.rb', line 14 def to_s "#{@title} lightning" end |