lib/ztk/dsl/core/io.rb in ztk-1.6.1 vs lib/ztk/dsl/core/io.rb in ztk-1.6.2
- old
+ new
@@ -13,10 +13,10 @@
# @author Zachary Patten <zachary AT jovelabs DOT com>
module ClassMethods
def load(rb_file)
new do
- instance_eval(::IO.read(rb_file))
+ instance_eval(::IO.read(rb_file), rb_file)
end
end
end