Class: 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.



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

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.



53
54
55
# File 'lib/igo/dictionary.rb', line 53

def group
  @group
end

#idObject (readonly)

Returns the value of attribute id.



53
54
55
# File 'lib/igo/dictionary.rb', line 53

def id
  @id
end

#invokeObject (readonly)

Returns the value of attribute invoke.



53
54
55
# File 'lib/igo/dictionary.rb', line 53

def invoke
  @invoke
end

#lengthObject (readonly)

Returns the value of attribute length.



53
54
55
# File 'lib/igo/dictionary.rb', line 53

def length
  @length
end