Method: OFlow::OpError#initialize
- Defined in:
- lib/oflow/errors.rb
#initialize(name, op) ⇒ OpError
Returns a new instance of OpError.
35 36 37 |
# File 'lib/oflow/errors.rb', line 35 def initialize(name, op) super("'#{op}' is not a valid operation for #{name}.") end |