Class: Igo::Category

Inherits:
Object
  • Object
show all
Defined in:
lib/igo/dictionary.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(i, l, iv, g) ⇒ Category

Returns a new instance of Category.



56
57
58
59
60
61
# File 'lib/igo/dictionary.rb', line 56

def initialize(i, l, iv, g)
  @id = i
  @length = l
  @invoke = iv
  @group = g
end

Instance Attribute Details

#groupObject (readonly)

Returns the value of attribute group.



55
56
57
# File 'lib/igo/dictionary.rb', line 55

def group
  @group
end

#idObject (readonly)

Returns the value of attribute id.



55
56
57
# File 'lib/igo/dictionary.rb', line 55

def id
  @id
end

#invokeObject (readonly)

Returns the value of attribute invoke.



55
56
57
# File 'lib/igo/dictionary.rb', line 55

def invoke
  @invoke
end

#lengthObject (readonly)

Returns the value of attribute length.



55
56
57
# File 'lib/igo/dictionary.rb', line 55

def length
  @length
end