Class: Reru::Next
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ Next
constructor
A new instance of Next.
- #next? ⇒ Boolean
- #to_s ⇒ Object
- #value? ⇒ Boolean
Methods inherited from Event
Constructor Details
#initialize(value) ⇒ Next
Returns a new instance of Next.
6 7 8 |
# File 'lib/reru/next.rb', line 6 def initialize(value) @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
4 5 6 |
# File 'lib/reru/next.rb', line 4 def value @value end |
Instance Method Details
#next? ⇒ Boolean
10 |
# File 'lib/reru/next.rb', line 10 def next? ; true ; end |
#to_s ⇒ Object
13 |
# File 'lib/reru/next.rb', line 13 def to_s ; @value.to_s ; end |
#value? ⇒ Boolean
11 |
# File 'lib/reru/next.rb', line 11 def value? ; true ; end |