class Shred::Commands::Console

Attributes

thor[R]

Public Class Methods

new(thor: nil) click to toggle source
# File lib/shred/commands/base.rb, line 121
def initialize(thor: nil)
  @thor = thor
end

Public Instance Methods

say_err(msg) click to toggle source
# File lib/shred/commands/base.rb, line 133
def say_err(msg)
  thor.say_status(:ERR, msg, :red)
end
say_ok(msg) click to toggle source
# File lib/shred/commands/base.rb, line 129
def say_ok(msg)
  thor.say_status(:OK, msg, :blue)
end
say_trace(msg) click to toggle source
# File lib/shred/commands/base.rb, line 125
def say_trace(msg)
  thor.say_status(:TRACE, msg, :green)
end