Exception: Stitches::Error::MissingParameter
- Inherits:
-
StandardError
- Object
- StandardError
- Stitches::Error::MissingParameter
- Defined in:
- lib/stitches/error.rb
Instance Method Summary collapse
-
#initialize(klass, param_name) ⇒ MissingParameter
constructor
A new instance of MissingParameter.
Constructor Details
#initialize(klass, param_name) ⇒ MissingParameter
Returns a new instance of MissingParameter.
16 17 18 |
# File 'lib/stitches/error.rb', line 16 def initialize(klass,param_name) super("#{ klass.name } must be initialized with :#{ param_name }") end |