lib/nanoc/extra/checking/dsl.rb in nanoc-3.6.7 vs lib/nanoc/extra/checking/dsl.rb in nanoc-3.6.8
- old
+ new
@@ -5,10 +5,10 @@
class DSL
attr_reader :deploy_checks
def self.from_file(filename)
- dsl = self.new
+ dsl = new
dsl.instance_eval File.read(filename)
dsl
end
def initialize