Method: Postview::CLI::Command#init

Defined in:
lib/postview/cli.rb

#init(process) {|Hash.new| ... } ⇒ Object

Yields:

  • (Hash.new)


66
67
68
69
# File 'lib/postview/cli.rb', line 66

def init process, &block
  printf "%1$s %2$s ...\n", ">"*2, process
  yield Hash.new
end