Sha256: a9ad006d5a123d2a7d94e788becb7046645e87716d766714592ace1e6fe1d8be

Contents?: true

Size: 315 Bytes

Versions: 3

Compression:

Stored size: 315 Bytes

Contents

module Gemsmith
  # Additional utilities for the command line.
  module Utilities
    # Prints info to the console.
    def say_info message
      say_status :info, message, :white
    end
    
    # Prints an error to the console.
    def say_error message
      say_status :error, message, :red
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gemsmith-0.5.0 lib/gemsmith/utilities.rb
gemsmith-0.4.0 lib/gemsmith/utilities.rb
gemsmith-0.3.0 lib/gemsmith/utilities.rb