Class: MTask::Store

Inherits:
Object
  • Object
show all
Defined in:
ext/lib/CompLearnLib/Task.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#keyObject (readonly)

Returns the value of attribute key.



33
34
35
# File 'ext/lib/CompLearnLib/Task.rb', line 33

def key
  @key
end

#valObject (readonly)

Returns the value of attribute val.



33
34
35
# File 'ext/lib/CompLearnLib/Task.rb', line 33

def val
  @val
end