Class: Gnuplot::DataSet

Inherits:
Object
  • Object
show all
Defined in:
lib/benchcc/ext/gnuplot.rb

Class Method Summary collapse

Class Method Details

.from_file(file, using: [1, 2], &block) ⇒ Object



5
6
7
# File 'lib/benchcc/ext/gnuplot.rb', line 5

def self.from_file(file, using: [1, 2], &block)
  self.new("\"#{file}\" using #{using.join(':')}", &block)
end