Exception: Philiprehberger::Template::UndefinedFilterError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/philiprehberger/template.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filter_name) ⇒ UndefinedFilterError

Returns a new instance of UndefinedFilterError.



24
25
26
27
# File 'lib/philiprehberger/template.rb', line 24

def initialize(filter_name)
  @filter_name = filter_name
  super("Undefined filter: #{filter_name}")
end

Instance Attribute Details

#filter_nameObject (readonly)

Returns the value of attribute filter_name.



22
23
24
# File 'lib/philiprehberger/template.rb', line 22

def filter_name
  @filter_name
end