Class: Intent::Review::Manager

Inherits:
Object
  • Object
show all
Defined in:
lib/intent/review/manager.rb

Class Method Summary collapse

Class Method Details



12
13
14
# File 'lib/intent/review/manager.rb', line 12

def self.print_help(output)
  output.puts "usage: review"
end

.run(args, output = STDOUT) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/intent/review/manager.rb', line 4

def self.run(args, output=STDOUT)
  if args.empty?
    print_help(output)
  else
    puts args
  end
end