Class: Chamber::Filters::NamespaceFilter
- Inherits:
-
Object
- Object
- Chamber::Filters::NamespaceFilter
- Defined in:
- lib/chamber/filters/namespace_filter.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ NamespaceFilter
constructor
A new instance of NamespaceFilter.
Constructor Details
#initialize(options = {}) ⇒ NamespaceFilter
Returns a new instance of NamespaceFilter.
6 7 8 9 |
# File 'lib/chamber/filters/namespace_filter.rb', line 6 def initialize( = {}) self.data = Hashie::Mash.new(.fetch(:data)) self.namespaces = .fetch(:namespaces) end |
Class Method Details
.execute(options = {}) ⇒ Object
11 12 13 |
# File 'lib/chamber/filters/namespace_filter.rb', line 11 def self.execute( = {}) self.new().send(:execute) end |