Exception: Mirah::Errors::MissingParameter

Inherits:
Mirah::Error
  • Object
show all
Defined in:
lib/mirah/errors.rb

Overview

A required parameter was not passed in

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(param) ⇒ MissingParameter

Returns a new instance of MissingParameter.


29
30
31
# File 'lib/mirah/errors.rb', line 29

def initialize(param)
  @param = param
end

Instance Attribute Details

#paramObject (readonly)

Returns the value of attribute param


33
34
35
# File 'lib/mirah/errors.rb', line 33

def param
  @param
end