Sha256: b85285a4e4fec97b90aae9eeb9a5cebefd2e2f7e86f1a98dccdeb1798b51bdd5
Contents?: true
Size: 377 Bytes
Versions: 21
Compression:
Stored size: 377 Bytes
Contents
module Midori # @return [String] midori environment def self.env ENV['MIDORI_ENV'] || 'development' end end class String # @return [TrueClass | FalseClass] if string is equal to production def production? self == 'production' end #@return [TrueClass | FalseClass] if string is equal to development def development? self == 'development' end end
Version data entries
21 entries across 21 versions & 2 rubygems