Class: Dressmaker::Configuration::Delegators::DirectoryDelegator
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Dressmaker::Configuration::Delegators::DirectoryDelegator
- Defined in:
- lib/dressmaker/configuration/delegators.rb
Instance Method Summary collapse
Instance Method Details
#for(pattern) ⇒ Object
8 9 10 |
# File 'lib/dressmaker/configuration/delegators.rb', line 8 def for(pattern) Dir["#{__getobj__.path}/#{pattern}"].each {|e| Delegators.with(e) {|wrapper_e| yield wrapper_e}} end |