Exception: Rearmed::BothArgAndBlockError
- Inherits:
-
StandardError
- Object
- StandardError
- Rearmed::BothArgAndBlockError
- Defined in:
- lib/rearmed.rb
Instance Method Summary collapse
-
#initialize(klass = nil) ⇒ BothArgAndBlockError
constructor
A new instance of BothArgAndBlockError.
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 |