Exception: Rearmed::BothArgAndBlockError

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

Instance Method Summary collapse

Constructor Details

#initialize(klass = nil) ⇒ BothArgAndBlockError

Returns a new instance of BothArgAndBlockError.



140
141
142
# File 'lib/rearmed.rb', line 140

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