Method: BioDSL::CSV.open

Defined in:
lib/BioDSL/csv.rb

.open(*args) ⇒ Object



56
57
58
59
60
61
62
63
64
# File 'lib/BioDSL/csv.rb', line 56

def self.open(*args)
  io = IO.open(*args)

  if block_given?
    yield new(io)
  else
    return new(io)
  end
end