Class: MTask::Store
- Inherits:
-
Object
- Object
- MTask::Store
- Defined in:
- ext/lib/CompLearnLib/Task.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#val ⇒ Object
readonly
Returns the value of attribute val.
Instance Method Summary collapse
-
#initialize(ukey, uval) ⇒ Store
constructor
A new instance of Store.
Constructor Details
#initialize(ukey, uval) ⇒ Store
Returns a new instance of Store.
34 35 36 |
# File 'ext/lib/CompLearnLib/Task.rb', line 34 def initialize(ukey, uval) @key,@val = ukey,uval end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
33 34 35 |
# File 'ext/lib/CompLearnLib/Task.rb', line 33 def key @key end |
#val ⇒ Object (readonly)
Returns the value of attribute val.
33 34 35 |
# File 'ext/lib/CompLearnLib/Task.rb', line 33 def val @val end |