module Codeowners::Cli::InteractiveOps
Provides convenience methods like :ask, :yes? without subclassing Thor
Public Instance Methods
ask(statement, *args)
click to toggle source
# File lib/codeowners/cli/interactive_ops.rb, line 11 def ask(statement, *args) thor.ask(statement, *args) end
yes?(statement, color = nil)
click to toggle source
# File lib/codeowners/cli/interactive_ops.rb, line 7 def yes?(statement, color = nil) thor.yes?(statement, color) end
Private Instance Methods
thor()
click to toggle source
# File lib/codeowners/cli/interactive_ops.rb, line 17 def thor @thor ||= Thor.new end