Sha256: 521798096f7ef447ddd550cd376bfc1824b918e90312a8bddb8bbc685e0c7e7b

Contents?: true

Size: 185 Bytes

Versions: 8

Compression:

Stored size: 185 Bytes

Contents

module DRG
  module Tasks
    module Log
      module_function

      def log(msg = nil, color = :green)
        say %Q(  <%= color('#{msg}', :#{color}) %>)
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
drg-0.16.0 lib/drg/tasks/log.rb
drg-0.15.6 lib/drg/tasks/log.rb
drg-0.15.5 lib/drg/tasks/log.rb
drg-0.15.4 lib/drg/tasks/log.rb
drg-0.15.3 lib/drg/tasks/log.rb
drg-0.15.2 lib/drg/tasks/log.rb
drg-0.15.1 lib/drg/tasks/log.rb
drg-0.15.0 lib/drg/tasks/log.rb