Class: GraphKit::GnuplotVariables

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

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

#apply(io) ⇒ Object



84
85
86
87
88
# File 'lib/graphkit/gnuplot.rb', line 84

def apply(io)
	self.each do |var,val|
		ion << "#{var} = #{val}\n" if val
	end
end