Exception: ActionError

Inherits:
RenamerError show all
Defined in:
lib/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(*opts) ⇒ ActionError

Returns a new instance of ActionError.



5
6
7
8
9
10
11
# File 'lib/errors.rb', line 5

def initialize *opts
  if opts.length > 0
    super
  else
    super 'Unrecognized or missing action'
  end
end