class Object

Public Instance Methods

CSV(*args, &block) click to toggle source

Passes args to CSV::instance.

  #=> [["CSV", "data"]]

If a block is given, the instance is passed the block and the return value becomes the return value of the block.

CSV("CSV,data") { |c| { |a| a.include?("data") }
} #=> true

CSV("CSV,data") { |c| { |a| a.include?("zombies") }
} #=> false
# File csv.rb, line 1507
def CSV(*args, &block)
  CSV.instance(*args, &block)