Exception: ScreenshotLayer::MissingArgumentException
- Inherits:
-
Exception
- Object
- Exception
- ScreenshotLayer::MissingArgumentException
- Defined in:
- lib/screenshot_capture/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/screenshot_capture/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/screenshot_capture/missing_argument_exception.rb', line 5 def argument @argument end |