Revision 2625
Added by Jean-Philippe Lang over 16 years ago
sandbox/rails-2.3/lib/SVG/Graph/Graph.rb | ||
---|---|---|
355 | 355 |
# by subclasses. |
356 | 356 |
def init_with config |
357 | 357 |
config.each { |key, value| |
358 |
self.send( key.to_s+"=", value ) if methods.include? key.to_s
|
|
358 |
self.send( key.to_s+"=", value ) if respond_to?(key)
|
|
359 | 359 |
} |
360 | 360 |
end |
361 | 361 |
Also available in: Unified diff
Fix in SVG::Graph for ruby1.9.