We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cfd260 commit ed58120Copy full SHA for ed58120
lib/nyaplot/base.rb
@@ -41,6 +41,7 @@ def define_properties(*symbols)
41
define_method(symbol) {|val=nil|
42
return @properties[symbol] if val.nil?
43
@properties[symbol] = val
44
+ return self
45
}
46
end
47
@@ -61,6 +62,7 @@ def define_group_properties(name, symbols)
61
62
63
return @properties[name][symbol] if val.nil?
64
@properties[name][symbol] = val
65
66
67
68
0 commit comments