Please note also that in all these examples no identifier is involved.
The item before "=>" is at best a key in a Hash, e.g.
irb(main):003:0> h = {:"(aard.DLL$)" => "kimchi"}
=> {:"(aard.DLL$)"=>"kimchi"}
Can you provide a bit more context that explains what you are trying to
achieve?
Kind regards
robert
I am trying to to create data via the Rally API (an agile tool). I am
creating a story and one of the required fields in the story is a drop
down list named (aard.DDL$). The options for the drop down list are
kimchi and bulgolgi, but using kimchi is fine (I know how to rotate
between the two). so normally I would write something like this:
user_story = @rally.create(:user_story, :name => "this is a test",
:state => "Open", :"aard.ddl$" => "Kimchi")
All work expect the last one. :"aard.ddl$" => "Kimchi"
···
On Fri, Oct 21, 2011 at 4:26 PM, DM W. <dwhelan@rallydev.com> wrote:
Please note also that in all these examples no identifier is involved.
The item before "=>" is at best a key in a Hash, e.g.
irb(main):003:0> h = {:"(aard.DLL$)" => "kimchi"}
=> {:"(aard.DLL$)"=>"kimchi"}
Can you provide a bit more context that explains what you are trying to
achieve?
Kind regards
robert
I am trying to to create data via the Rally API (an agile tool). I am
creating a story and one of the required fields in the story is a drop
down list named (aard.DDL$). The options for the drop down list are
kimchi and bulgolgi, but using kimchi is fine (I know how to rotate
between the two). so normally I would write something like this:
user_story = @rally.create(:user_story, :name => "this is a test",
:state => "Open", :"aard.ddl$" => "Kimchi")
All work expect the last one. :"aard.ddl$" => "Kimchi"