lib/grape/exceptions/missing_option.rb in grape-0.6.0 vs lib/grape/exceptions/missing_option.rb in grape-0.6.1
- old
+ new
@@ -2,10 +2,10 @@
module Grape
module Exceptions
class MissingOption < Base
def initialize(option)
- super(:message => compose_message("missing_option", :option => option))
+ super(message: compose_message("missing_option", option: option))
end
end
end