Skip to content

Instantly share code, notes, and snippets.

@mrorii
Created March 9, 2010 14:01
Show Gist options
  • Save mrorii/326596 to your computer and use it in GitHub Desktop.
Save mrorii/326596 to your computer and use it in GitHub Desktop.
$have_title = {
'BakaTesu' =>
{
'volumes' => [1,2,3],
'publisher' => 'ファミ通文庫',
},
'ZeroNo' =>
{
'volumes' => [1,2,3,4,5],
'publisher' => 'ほげほげ',
},
'Haruhi' =>
{
'volumes' => [1,2,3,4,5,6],
'publisher' => 'ぴよふが',
},
}
# 使い方が今までと変わるので注意
# $have_title['Haruhi']['volumes'] で [1,2,3,4,5,6] を取得できて
# $have_title['Haruhi']['publisher'] で 'ぴよふが' を取得できる
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment