Exception: Rearmed::Exceptions::BothArgAndBlockError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rearmed/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(klass = nil) ⇒ BothArgAndBlockError

Returns a new instance of BothArgAndBlockError.



17
18
19
# File 'lib/rearmed/exceptions.rb', line 17

def initialize(klass=nil)
  super("Arguments and blocks must be used seperately.")
end