lib/scaffoldhub/helper.rb in scaffoldhub-0.1.2 vs lib/scaffoldhub/helper.rb in scaffoldhub-0.1.3

- old
+ new

@@ -1,8 +1,16 @@ +require 'tmpdir' + module Scaffoldhub module Helper class ScaffoldParameterMissing < RuntimeError + end + + def self.included(base) + base.class_eval do + source_root Dir.tmpdir + end end class << self def scaffold_spec @scaffold_spec