Class: EcomDev::ChefSpec::Resource::Matcher::DSL
- Inherits:
-
Object
- Object
- EcomDev::ChefSpec::Resource::Matcher::DSL
- Defined in:
- lib/ecomdev/chefspec/resource/matcher/dsl.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.load(filename) ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/ecomdev/chefspec/resource/matcher/dsl.rb', line 14 def self.load(filename) dsl = new content = File.read(filename) content.taint dsl.instance_eval(content, filename) dsl end |