Sha256: 885dfaa5945f35b3cb6635254576b53ddd278115fc80187a7b95a9cdf671c5c9

Contents?: true

Size: 249 Bytes

Versions: 19

Compression:

Stored size: 249 Bytes

Contents

class ForgeCLI::Output
  def self.write(action, message, output = STDOUT)
    msg = []
    (12 - action.length).times { msg << " " }
    msg << action.foreground(93, 255, 85)
    msg << "  "
    msg << message
    output.puts msg.join('')
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
forge-cli-0.1.10 lib/forge-cli/output.rb
forge-cli-0.1.9 lib/forge-cli/output.rb
forge-cli-0.1.8 lib/forge-cli/output.rb
forge-cli-0.1.7 lib/forge-cli/output.rb
forge-cli-0.1.6 lib/forge-cli/output.rb
forge-cli-0.1.5 lib/forge-cli/output.rb
forge-cli-0.1.4 lib/forge-cli/output.rb
forge-cli-0.1.3 lib/forge-cli/output.rb
forge-cli-0.1.2 lib/forge-cli/output.rb
forge-cli-0.1.1 lib/forge-cli/output.rb
forge-cli-0.1.0 lib/forge-cli/output.rb
forge-cli-0.0.18 lib/forge-cli/output.rb
forge-cli-0.0.17 lib/forge-cli/output.rb
forge-cli-0.0.16 lib/forge-cli/output.rb
forge-cli-0.0.15 lib/forge-cli/output.rb
forge-cli-0.0.14 lib/forge-cli/output.rb
forge-cli-0.0.13 lib/forge-cli/output.rb
forge-cli-0.0.12 lib/forge-cli/output.rb
forge-cli-0.0.11 lib/forge-cli/output.rb