Sha256: 5984f30926a688999d57db3819255744917eb73d765c3143d2a08112cf96a6f8

Contents?: true

Size: 172 Bytes

Versions: 2

Compression:

Stored size: 172 Bytes

Contents

module SubZero
  module Common
    def log msg, level='DEBUG'
      puts "#{level}: #{msg}"
    end

    def env
      ENV['SUBZERO_ENV'] || 'development'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sub_zero-0.0.4 lib/sub_zero/main/common.rb
sub_zero-0.0.3 lib/sub_zero/main/common.rb