Module: ZTK::DSL::Core::IO::ClassMethods Private
- Defined in:
- lib/ztk/dsl/core/io.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary (collapse)
- - (Object) load(rb_file) private
Instance Method Details
- (Object) load(rb_file)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
16 17 18 19 20 |
# File 'lib/ztk/dsl/core/io.rb', line 16 def load(rb_file) new do instance_eval(::IO.read(rb_file), rb_file) end end |