Class: MKIt::MKItCType
- Inherits:
-
Object
- Object
- MKIt::MKItCType
- Defined in:
- lib/mkit/ctypes.rb
Instance Method Summary collapse
-
#initialize(status) ⇒ MKItCType
constructor
A new instance of MKItCType.
- #to_s ⇒ Object
Constructor Details
#initialize(status) ⇒ MKItCType
Returns a new instance of MKItCType.
5 6 7 |
# File 'lib/mkit/ctypes.rb', line 5 def initialize(status) @status = status.to_s end |
Instance Method Details
#to_s ⇒ Object
9 10 11 |
# File 'lib/mkit/ctypes.rb', line 9 def to_s @status.downcase end |