Class: Category
- Inherits:
-
Object
- Object
- 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.
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
#group ⇒ Object (readonly)
Returns the value of attribute group.
53 54 55 |
# File 'lib/igo/dictionary.rb', line 53 def group @group end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
53 54 55 |
# File 'lib/igo/dictionary.rb', line 53 def id @id end |
#invoke ⇒ Object (readonly)
Returns the value of attribute invoke.
53 54 55 |
# File 'lib/igo/dictionary.rb', line 53 def invoke @invoke end |
#length ⇒ Object (readonly)
Returns the value of attribute length.
53 54 55 |
# File 'lib/igo/dictionary.rb', line 53 def length @length end |