Class: Lumb::EntryItem

Inherits:
Object
  • Object
show all
Defined in:
lib/lumb/entry.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#slotObject (readonly)

Returns the value of attribute slot.



28
29
30
# File 'lib/lumb/entry.rb', line 28

def slot
  @slot
end

#valueObject (readonly)

Returns the value of attribute value.



28
29
30
# File 'lib/lumb/entry.rb', line 28

def value
  @value
end

#wsObject (readonly)

Returns the value of attribute ws.



28
29
30
# File 'lib/lumb/entry.rb', line 28

def ws
  @ws
end