私はこれらのハッシュをhashes
変数に持っています:
{:priority=>100, :iso_code=>"JPY", :name=>"Japanese Yen", :symbol=>"¥", :alternate_symbols=>["円", "圓"], :subunit=>"Sen", :subunit_to_unit=>100, :symbol_first=>true, :html_entity=>"¥", :decimal_mark=>".", :thousands_separator=>",", :iso_numeric=>""}
{:priority=>100, :iso_code=>"ZWD", :name=>"Zimbabwean Dollar", :symbol=>"$", :alternate_symbols=>["Z$"], :subunit=>"Cent", :subunit_to_unit=>100, :symbol_first=>true, :html_entity=>"$", :decimal_mark=>".", :thousands_separator=>",", :iso_numeric=>"716"}
{:priority=>100, :iso_code=>"ZWL", :name=>"Zimbabwean Dollar", :symbol=>"$", :alternate_symbols=>["Z$"], :subunit=>"Cent", :subunit_to_unit=>100, :symbol_first=>true, :html_entity=>"$", :decimal_mark=>".", :thousands_separator=>",", :iso_numeric=>"932"}
{:priority=>100, :iso_code=>"ZWN", :name=>"Zimbabwean Dollar", :symbol=>"$", :alternate_symbols=>["Z$"], :subunit=>"Cent", :subunit_to_unit=>100, :symbol_first=>true, :html_entity=>"$", :decimal_mark=>".", :thousands_separator=>",", :iso_numeric=>"942"}
{:priority=>100, :iso_code=>"ZWR", :name=>"Zimbabwean Dollar", :symbol=>"$", :alternate_symbols=>["Z$"], :subunit=>"Cent", :subunit_to_unit=>100, :symbol_first=>true, :html_entity=>"$", :decimal_mark=>".", :thousands_separator=>",", :iso_numeric=>"935"}
hashes
3 つのキーのみで変数を入力/更新したい:
:iso_code
:name
:symbol
どうすればいいですか?