Class: Lumb::EntryItem
- Inherits:
-
Object
- Object
- Lumb::EntryItem
- Defined in:
- lib/lumb/entry.rb
Instance Attribute Summary collapse
-
#slot ⇒ Object
readonly
Returns the value of attribute slot.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
-
#ws ⇒ Object
readonly
Returns the value of attribute ws.
Instance Method Summary collapse
-
#initialize(slot, value, ws) ⇒ EntryItem
constructor
A new instance of EntryItem.
Constructor Details
#initialize(slot, value, ws) ⇒ EntryItem
Returns a new instance of EntryItem.
30 31 32 |
# File 'lib/lumb/entry.rb', line 30 def initialize(slot, value, ws) @slot, @value, @ws = slot.to_sym, value, ws end |
Instance Attribute Details
#slot ⇒ Object (readonly)
Returns the value of attribute slot.
28 29 30 |
# File 'lib/lumb/entry.rb', line 28 def slot @slot end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
28 29 30 |
# File 'lib/lumb/entry.rb', line 28 def value @value end |
#ws ⇒ Object (readonly)
Returns the value of attribute ws.
28 29 30 |
# File 'lib/lumb/entry.rb', line 28 def ws @ws end |