class Cartolabco::BciParse
Public Class Methods
from_file(file)
click to toggle source
# File lib/cartolabco.rb, line 11 def self.from_file(file) CheckFile.new.check_file?(file) BciXls.new(file) end
from_path(path)
click to toggle source
# File lib/cartolabco.rb, line 6 def self.from_path(path) CheckFile.new.check_path?(path) self.from_file(File.open(path, 'r')) end