Class: Ankit::Challenge::Slot
- Inherits:
-
Struct
- Object
- Struct
- Ankit::Challenge::Slot
- Defined in:
- lib/ankit/challenge.rb
Constant Summary collapse
- BATCH_SIZE =
10
Instance Attribute Summary collapse
-
#event ⇒ Object
Returns the value of attribute event.
-
#path ⇒ Object
Returns the value of attribute path.
-
#rating ⇒ Object
Returns the value of attribute rating.
Instance Method Summary collapse
Instance Attribute Details
#event ⇒ Object
Returns the value of attribute event
99 100 101 |
# File 'lib/ankit/challenge.rb', line 99 def event @event end |
#path ⇒ Object
Returns the value of attribute path
99 100 101 |
# File 'lib/ankit/challenge.rb', line 99 def path @path end |
#rating ⇒ Object
Returns the value of attribute rating
99 100 101 |
# File 'lib/ankit/challenge.rb', line 99 def @rating end |
Instance Method Details
#maturity ⇒ Object
101 |
# File 'lib/ankit/challenge.rb', line 101 def maturity; self.event ? self.event.maturity : 0; end |