michelson/lazy_high_charts — pull request #77 by tomgi (2012-10-21 10:11:58+00:00)
Title: it should allow to build options step by step without overriding previously set values

See added specs.

I know I could use

f.options[:xAxis][:categories] = [3, 5, 7]
f.options[:xAxis][:title][:text] = 'x title'

But then I have to be sure that all "middle-hashes" are already initialized and I am not calling []= on nil.