Exception: ScreenshotLayer::MissingArgumentException

Inherits:
Exception
  • Object
show all
Defined in:
lib/screenshot_capture/missing_argument_exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#argumentObject

Returns the value of attribute argument.



5
6
7
# File 'lib/screenshot_capture/missing_argument_exception.rb', line 5

def argument
  @argument
end