Class: InstanceAccountant::CLI
- Inherits:
-
Thor
- Object
- Thor
- InstanceAccountant::CLI
- Defined in:
- lib/instance_accountant/cli.rb
Constant Summary collapse
- SIGNALS =
[]
- SECONDS_BETWEEN_ATTEMPTS =
10
Instance Method Summary collapse
Instance Method Details
#account ⇒ Object
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
# File 'lib/instance_accountant/cli.rb', line 79 def account if price_but_not_income_and_receivable STDERR.puts '--price requires --income_acct and --receivable_acct' exit 0 end i = 0 loop do consider_posting i, consider_exiting sleep 1 i += 1 end end |