Class: GraphKit::GnuplotPlotOptions

Inherits:
KitHash show all
Defined in:
lib/graphkit/gnuplot.rb

Constant Summary collapse

GNUPLOT_SETS =
%w[    
		acsplines         axes              bezier            binary
csplines          cumulative        datafile          errorbars
errorlines        every             example           frequency
index             iteration         kdensity          matrix
parametric        ranges            sbezier           smooth
special-filenames style             thru              title
unique            using             with].map{|s| s.to_sym}

Instance Method Summary collapse

Methods inherited from KitHash

from_hash, #inspect

Methods included from Kit

#check, #method_missing

Methods inherited from Hash

#modify

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Kit

Instance Method Details

#[]=(opt, val) ⇒ Object



79
80
81
82
# File 'lib/graphkit/gnuplot.rb', line 79

def []=(opt, val)
	raise "#{opt} is not a valid gnuplot set option" unless GNUPLOT_SETS.include? opt
	super
end