Sha256: 000fdd181813dd0fb0c9aeeac3d62ed82819b7c64402eb30e7a9c0b9c36a72c0

Contents?: true

Size: 265 Bytes

Versions: 44

Compression:

Stored size: 265 Bytes

Contents

module Sunzi
  module Logger
    class << self
      def info(text)
        puts text.bright
      end

      def success(text)
        puts text.color(:green).bright
      end

      def error(text)
        puts text.color(:red).bright
      end
    end
  end
end

Version data entries

44 entries across 44 versions & 2 rubygems

Version Path
sunzi-rails-0.2.2 lib/sunzi/logger.rb
sunzi-rails-0.2.1 lib/sunzi/logger.rb
sunzi-rails-0.2.0 lib/sunzi/logger.rb
sunzi-rails-0.1.0 lib/sunzi/logger.rb
sunzi-1.5.2 lib/sunzi/logger.rb
sunzi-1.5.1 lib/sunzi/logger.rb
sunzi-1.5.0 lib/sunzi/logger.rb
sunzi-1.4.0 lib/sunzi/logger.rb
sunzi-1.3.0 lib/sunzi/logger.rb
sunzi-1.2.0 lib/sunzi/logger.rb
sunzi-1.1.2 lib/sunzi/logger.rb
sunzi-1.1.1 lib/sunzi/logger.rb
sunzi-1.1.0 lib/sunzi/logger.rb
sunzi-1.0.0 lib/sunzi/logger.rb
sunzi-0.9.0 lib/sunzi/logger.rb
sunzi-0.8.0 lib/sunzi/logger.rb
sunzi-0.7.0 lib/sunzi/logger.rb
sunzi-0.6.0 lib/sunzi/logger.rb
sunzi-0.5.1 lib/sunzi/logger.rb
sunzi-0.5.0 lib/sunzi/logger.rb