Sha256: cd1eca537b422937c729eab52e68a1ec164805fbaf2d77f49d779ee92fb21132
Contents?: true
Size: 461 Bytes
Versions: 82
Compression:
Stored size: 461 Bytes
Contents
module ZTK::DSL::Core # @author Zachary Patten <zachary AT jovelabs DOT com> # @api private module IO def self.included(base) base.class_eval do base.send(:extend, ZTK::DSL::Core::IO::ClassMethods) end end # @author Zachary Patten <zachary AT jovelabs DOT com> module ClassMethods def load(rb_file) new do instance_eval(::IO.read(rb_file), rb_file) end end end end end
Version data entries
82 entries across 82 versions & 1 rubygems