材料 | 量、大きさ |
---|---|
ベース油(食用油を模索中、ごま油がベター) | 欲しい量 |
白ネギ(の青い部分) | 適量 |
ニンニク | 適量 |
唐辛子 | 適量 |
容器 | ベース油が入る容積をもった容器 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# -*- coding: utf-8 -*- | |
flags = "001000001000" | |
month = %w[4 5 6 7 8 9 10 11 12 1 2 3] | |
suffix = [nil, '月期'] | |
combo = [] | |
month.each_index do |key| | |
combo << "#{month[key]} #{suffix[flags[key, 1].to_i]}" |