mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-05-06 07:10:10 +08:00
Add a comment to params
This commit is contained in:
parent
34ae2b5815
commit
d7e49f048f
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user