Class: Ykutils::RetCode2
Instance Attribute Summary collapse
-
#bool ⇒ Object
Returns the value of attribute bool.
-
#mes ⇒ Object
Returns the value of attribute mes.
-
#ret ⇒ Object
Returns the value of attribute ret.
-
#val ⇒ Object
readonly
Returns the value of attribute val.
Instance Method Summary collapse
-
#initialize(ret, bool, mes) ⇒ RetCode2
constructor
A new instance of RetCode2.
Methods inherited from RetCode
Constructor Details
#initialize(ret, bool, mes) ⇒ RetCode2
Returns a new instance of RetCode2.
26 27 28 29 |
# File 'lib/ykutils/retcodex.rb', line 26 def initialize(ret, bool, mes) @val = { "ret" => ret, "bool" => bool, "mes" => mes } super(@val) end |
Instance Attribute Details
#bool ⇒ Object
Returns the value of attribute bool.
24 25 26 |
# File 'lib/ykutils/retcodex.rb', line 24 def bool @bool end |
#mes ⇒ Object
Returns the value of attribute mes.
24 25 26 |
# File 'lib/ykutils/retcodex.rb', line 24 def mes @mes end |
#ret ⇒ Object
Returns the value of attribute ret.
24 25 26 |
# File 'lib/ykutils/retcodex.rb', line 24 def ret @ret end |
#val ⇒ Object (readonly)
Returns the value of attribute val.
23 24 25 |
# File 'lib/ykutils/retcodex.rb', line 23 def val @val end |