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.



57
58
59
60
# File 'lib/phronomy.rb', line 57

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

Instance Attribute Details

#filterObject (readonly)

Returns the value of attribute filter.



55
56
57
# File 'lib/phronomy.rb', line 55

def filter
  @filter
end