Exception: MoCo::OptionError

Inherits:
Error
  • Object
show all
Defined in:
lib/moco/options.rb

Instance Method Summary collapse

Constructor Details

#initialize(error, *args) ⇒ OptionError

Returns a new instance of OptionError.



302
303
304
# File 'lib/moco/options.rb', line 302

def initialize(error, *args)
  super(error_message(error) % args)
end