On Fri, Apr 08, 2011 at 11:03:53AM -0700, Nando Sola wrote:
> 
> ---8<---
> def test_deep_set
> 
>   h = {'foo'=>{'bar'=>{'baz'=>{'fruit'=>'pineapple'}}}}
>   Ruote.set(h, 'foo.bar.baz.fruit', 'orange')
> 
>   assert_equal({"foo"=>{"bar"=>{"baz"=> "orange" }}}, h)
> end
> --->8--

Hello Nando,

many thanks for the test case ! I have incorporated it and fixed the issue :

  
https://github.com/jmettraux/ruote/commit/ced75bfe0871940108accf5eb46d3fb4852d7b45


Have a nice week-end too !

-- 
John Mettraux - http://jmettraux.wordpress.com

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to