lib/schematic/generator/sandbox.rb in schematic-0.4.0 vs lib/schematic/generator/sandbox.rb in schematic-0.4.1
- old
+ new
@@ -41,8 +41,12 @@
added_elements[name.keys.first] = name.values.first
else
added_elements[name] = nil
end
end
+
+ def method_missing(method, *args, &block)
+ @klass.send method, *args, &block
+ end
end
end
end