Sha256: 0cdef03de555e977775f5b79d52a02a458a24c49253ce1f6587b63e43b206ecd
Contents?: true
Size: 261 Bytes
Versions: 2
Compression:
Stored size: 261 Bytes
Contents
module Eucalypt APP_FILE = 'Gumfile'.freeze def self.app?(directory) File.exist? File.join(directory, APP_FILE) end # @note Does not check for boolean variables. # Instead checks for presence. def self.console? !!ENV['CONSOLE'] end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
eucalypt-0.9.0 | lib/eucalypt/app.rb |
eucalypt-0.8.0 | lib/eucalypt/app.rb |