Class: MKLog::DebugType
- Inherits:
-
Object
- Object
- MKLog::DebugType
- Defined in:
- lib/mklog/debug_type.rb
Constant Summary collapse
- NORMAL =
1- OBJECT =
2
Class Method Summary collapse
Class Method Details
.get_class(type) ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/mklog/debug_type.rb', line 7 def self.get_class(type) case type when self::OBJECT return MKLog::MKDebugType::Object.new else return MKLog::MKDebugType::Normal.new end end |