Class: Lita::Standups::Models::Standup
- Includes:
- Ohm::Callbacks, Ohm::DataTypes, Ohm::Timestamps
- Defined in:
- lib/lita/standups/models/standup.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#description ⇒ Object
21 22 23 24 25 26 27 28 |
# File 'lib/lita/standups/models/standup.rb', line 21 def description [ "ID: #{id}", "Name: #{name}", "Questions:", questions.join("\n") ].join("\n") end |
#summary ⇒ Object
17 18 19 |
# File 'lib/lita/standups/models/standup.rb', line 17 def summary "#{name} (ID: #{id}) - #{questions.size} question(s)" end |