Class: MKIt::MKItCType

Inherits:
Object
  • Object
show all
Defined in:
lib/mkit/ctypes.rb

Instance Method Summary collapse

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_sObject



9
10
11
# File 'lib/mkit/ctypes.rb', line 9

def to_s
  @status.downcase
end