Class: Igo::Category
- Inherits:
-
Object
- Object
- Igo::Category
- Defined in:
- lib/igo/dictionary.rb
Instance Attribute Summary collapse
-
#group ⇒ Object
readonly
Returns the value of attribute group.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#invoke ⇒ Object
readonly
Returns the value of attribute invoke.
-
#length ⇒ Object
readonly
Returns the value of attribute length.
Instance Method Summary collapse
-
#initialize(i, l, iv, g) ⇒ Category
constructor
A new instance of Category.
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
#group ⇒ Object (readonly)
Returns the value of attribute group.
55 56 57 |
# File 'lib/igo/dictionary.rb', line 55 def group @group end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
55 56 57 |
# File 'lib/igo/dictionary.rb', line 55 def id @id end |
#invoke ⇒ Object (readonly)
Returns the value of attribute invoke.
55 56 57 |
# File 'lib/igo/dictionary.rb', line 55 def invoke @invoke end |
#length ⇒ Object (readonly)
Returns the value of attribute length.
55 56 57 |
# File 'lib/igo/dictionary.rb', line 55 def length @length end |