diff --git a/lib/uplot/command/params.rb b/lib/uplot/command/params.rb index 618a33d..2633d8d 100644 --- a/lib/uplot/command/params.rb +++ b/lib/uplot/command/params.rb @@ -2,6 +2,11 @@ module Uplot class Command + # UnicodePlot parameters. + # * Normally in a Ruby program, you might use hash for the parameter object. + # * Here, I use Struct for 2 safety reason. + # * The keys are static in Struct. + # * Struct does not conflict with keyword arguments. Hash dose. Params = Struct.new( # Sort me! :title,