Class: Fuli::Cli
- Inherits:
-
Thor
- Object
- Thor
- Fuli::Cli
- Defined in:
- lib/fuli/cli.rb
Instance Method Summary collapse
Instance Method Details
#rosi(no) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/fuli/cli.rb', line 6 def rosi(no) unless no.to_i > 0 && no.to_i < 2000 puts "wrong number" return end no = "%03d" % no `mkdir ROSI_NO_#{no}` Rosi.fetch(no) end |