Exception: Phronomy::FilterBlockError

Inherits:
Error
  • Object
show all
Defined in:
lib/phronomy.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, filter: nil) ⇒ FilterBlockError

Returns a new instance of FilterBlockError.



63
64
65
66
# File 'lib/phronomy.rb', line 63

def initialize(message, filter: nil)
  super(message)
  @filter = filter
end

Instance Attribute Details

#filterObject (readonly)

Returns the value of attribute filter.



61
62
63
# File 'lib/phronomy.rb', line 61

def filter
  @filter
end