Class: Delayer::Bucket
- Inherits:
-
Struct
- Object
- Struct
- Delayer::Bucket
- Defined in:
- lib/delayer/extend.rb
Instance Attribute Summary collapse
-
#first ⇒ Object
Returns the value of attribute first.
-
#last ⇒ Object
Returns the value of attribute last.
-
#priority_of ⇒ Object
Returns the value of attribute priority_of.
-
#stashed ⇒ Object
Returns the value of attribute stashed.
Instance Method Summary collapse
Instance Attribute Details
#first ⇒ Object
Returns the value of attribute first
6 7 8 |
# File 'lib/delayer/extend.rb', line 6 def first @first end |
#last ⇒ Object
Returns the value of attribute last
6 7 8 |
# File 'lib/delayer/extend.rb', line 6 def last @last end |
#priority_of ⇒ Object
Returns the value of attribute priority_of
6 7 8 |
# File 'lib/delayer/extend.rb', line 6 def priority_of @priority_of end |
#stashed ⇒ Object
Returns the value of attribute stashed
6 7 8 |
# File 'lib/delayer/extend.rb', line 6 def stashed @stashed end |
Instance Method Details
#stash_size ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/delayer/extend.rb', line 7 def stash_size if stashed 1 + stashed.stash_size else 0 end end |