class Whiteprint::Migrator::Cli
Public Class Methods
new(input, output)
click to toggle source
# File lib/whiteprint/migrator.rb, line 4 def initialize(input, output) @cli = HighLine.new input, output end
Public Instance Methods
ask(*args)
click to toggle source
# File lib/whiteprint/migrator.rb, line 8 def ask(*args) @cli.ask(*args) end
choose(*args, &block)
click to toggle source
# File lib/whiteprint/migrator.rb, line 12 def choose(*args, &block) @cli.choose(*args, &block) end
say(*messages)
click to toggle source
# File lib/whiteprint/migrator.rb, line 16 def say(*messages) messages.each do |message| @cli.say(message) end end