Class: Put::PutsThing::InOrder
- Inherits:
-
Put::PutsThing
- Object
- Put::PutsThing
- Put::PutsThing::InOrder
- Defined in:
- lib/put/puts_thing/in_order.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value, nils_first:) ⇒ InOrder
constructor
A new instance of InOrder.
- #nils_first? ⇒ Boolean
Methods inherited from Put::PutsThing
Constructor Details
#initialize(value, nils_first:) ⇒ InOrder
Returns a new instance of InOrder.
4 5 6 7 |
# File 'lib/put/puts_thing/in_order.rb', line 4 def initialize(value, nils_first:) @value = value @nils_first = nils_first end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
9 10 11 |
# File 'lib/put/puts_thing/in_order.rb', line 9 def value @value end |
Instance Method Details
#nils_first? ⇒ Boolean
11 12 13 |
# File 'lib/put/puts_thing/in_order.rb', line 11 def nils_first? @nils_first end |