module Goodboy
Constants
- MissingCommandError
- NoChangesError
- UnknownCommandError
- VERSION
Public Class Methods
debug() { || ... }
click to toggle source
# File lib/goodboy/helpers.rb, line 11 def debug yield if debug? end
debug?()
click to toggle source
# File lib/goodboy/helpers.rb, line 7 def debug? %w(1 t y T Y e E).include?(ENV['DEBUG'].to_s[0]) end
run(command)
click to toggle source
# File lib/goodboy/helpers.rb, line 3 def run(command) CommandHandler.new.handle(command) end