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.21 lib/sunzi/logger.rb
sunzi-rails-0.2.20 lib/sunzi/logger.rb
sunzi-rails-0.3.0 lib/sunzi/logger.rb
sunzi-rails-0.2.19 lib/sunzi/logger.rb
sunzi-rails-0.2.18 lib/sunzi/logger.rb
sunzi-rails-0.2.17 lib/sunzi/logger.rb
sunzi-rails-0.2.16 lib/sunzi/logger.rb
sunzi-rails-0.2.15 lib/sunzi/logger.rb
sunzi-rails-0.2.14 lib/sunzi/logger.rb
sunzi-rails-0.2.13 lib/sunzi/logger.rb
sunzi-rails-0.2.12 lib/sunzi/logger.rb
sunzi-rails-0.2.11 lib/sunzi/logger.rb
sunzi-rails-0.2.10 lib/sunzi/logger.rb
sunzi-rails-0.2.9 lib/sunzi/logger.rb
sunzi-rails-0.2.8 lib/sunzi/logger.rb
sunzi-rails-0.2.7 lib/sunzi/logger.rb
sunzi-rails-0.2.6 lib/sunzi/logger.rb
sunzi-rails-0.2.5 lib/sunzi/logger.rb
sunzi-rails-0.2.4 lib/sunzi/logger.rb
sunzi-rails-0.2.3 lib/sunzi/logger.rb