Exception: Stitches::Error::MissingParameter

Inherits:
StandardError
  • Object
show all
Defined in:
lib/stitches/error.rb

Instance Method Summary collapse

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