Method: Postview::CLI::Command#step
- Defined in:
- lib/postview/cli.rb
#step(&block) ⇒ Object
71 72 73 74 75 76 77 |
# File 'lib/postview/cli.rb', line 71 def step &block if block_given? result = yield printf "%s", (result ? "." : "!") result end end |