Class: Ronin::Core::Params::Types::Type Private
- Inherits:
-
Object
- Object
- Ronin::Core::Params::Types::Type
- Defined in:
- lib/ronin/core/params/types/type.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
The base type for all command-line argument types.
Instance Method Summary collapse
-
#coerce(value) ⇒ Object
abstract
private
The default coerce method.
Instance Method Details
#coerce(value) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
This method is abstract.
The default coerce method.
46 47 48 |
# File 'lib/ronin/core/params/types/type.rb', line 46 def coerce(value) raise(NotImplementedError,"#{self.class}##{__method__} method was not implemented") end |