Add comments

This commit is contained in:
kojix2
2021-05-29 10:28:56 +09:00
parent d30942fef6
commit 7e97d44caf
4 changed files with 6 additions and 2 deletions

View File

@@ -2,8 +2,7 @@
module YouPlot
# UnicodePlot parameters.
# * Normally in a Ruby program, you might use hash for the parameter object.
# * Here, I use Struct for 2 safety reason.
# Why Struct, not Hash?
# * The keys are static in Struct.
# * Struct does not conflict with keyword arguments. Hash dose.
Parameters = Struct.new(