Exception: Sinatra::Validation::InvalidParameterError
- Inherits:
-
StandardError
- Object
- StandardError
- Sinatra::Validation::InvalidParameterError
- Defined in:
- lib/sinatra/validation.rb
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(result) ⇒ InvalidParameterError
constructor
A new instance of InvalidParameterError.
Constructor Details
#initialize(result) ⇒ InvalidParameterError
Returns a new instance of InvalidParameterError.
9 10 11 |
# File 'lib/sinatra/validation.rb', line 9 def initialize(result) @result = result end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
7 8 9 |
# File 'lib/sinatra/validation.rb', line 7 def result @result end |