Class: Washcloth::Configuration
- Inherits:
-
Object
- Object
- Washcloth::Configuration
- Defined in:
- lib/washcloth.rb
Instance Attribute Summary collapse
-
#filters ⇒ Object
readonly
Returns the value of attribute filters.
Instance Method Summary collapse
- #add_filter(filter_name, filter) ⇒ Object
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
83 84 85 |
# File 'lib/washcloth.rb', line 83 def initialize @filters = {} end |
Instance Attribute Details
#filters ⇒ Object (readonly)
Returns the value of attribute filters.
81 82 83 |
# File 'lib/washcloth.rb', line 81 def filters @filters end |