Exception: LanguageLayer::MissingArgumentException
- Inherits:
-
Exception
- Object
- Exception
- LanguageLayer::MissingArgumentException
- Defined in:
- lib/language_detection/missing_argument_exception.rb
Instance Attribute Summary collapse
-
#argument ⇒ Object
Returns the value of attribute argument.
Instance Method Summary collapse
-
#initialize(argument) ⇒ MissingArgumentException
constructor
A new instance of MissingArgumentException.
Constructor Details
#initialize(argument) ⇒ MissingArgumentException
Returns a new instance of MissingArgumentException.
7 8 9 |
# File 'lib/language_detection/missing_argument_exception.rb', line 7 def initialize(argument) self.argument = argument end |
Instance Attribute Details
#argument ⇒ Object
Returns the value of attribute argument.
5 6 7 |
# File 'lib/language_detection/missing_argument_exception.rb', line 5 def argument @argument end |