Method: ParameterNotPresentException#initialize
- Defined in:
- lib/sinatra/params/errors.rb
#initialize(name) ⇒ ParameterNotPresentException
Returns a new instance of ParameterNotPresentException.
19 20 21 |
# File 'lib/sinatra/params/errors.rb', line 19 def initialize(name) @message = "Parameter `#{name}` is not present" end |