Module: Chozo::Mixin::FromFile::ClassMethods

Defined in:
lib/chozo/mixin/from_file.rb

Instance Method Summary collapse

Instance Method Details

#class_from_file(filename, *args) ⇒ Object



9
10
11
# File 'lib/chozo/mixin/from_file.rb', line 9

def class_from_file(filename, *args)
  new(*args).class_from_file(filename)
end

#from_file(filename, *args) ⇒ Object



5
6
7
# File 'lib/chozo/mixin/from_file.rb', line 5

def from_file(filename, *args)
  new(*args).from_file(filename)
end