Class: MonkeyType::Option
- Inherits:
-
Object
- Object
- MonkeyType::Option
- Defined in:
- lib/monkey_type.rb
Instance Method Summary collapse
- #get_type ⇒ Object
-
#initialize(type) ⇒ Option
constructor
A new instance of Option.
Constructor Details
#initialize(type) ⇒ Option
Returns a new instance of Option.
59 60 61 |
# File 'lib/monkey_type.rb', line 59 def initialize(type) @type = type end |
Instance Method Details
#get_type ⇒ Object
63 64 65 |
# File 'lib/monkey_type.rb', line 63 def get_type @type end |