Sha256: 4e96726fb19238b8c4523971a1318bde48d5a264bc5989fb89f63b7058491a4d
Contents?: true
Size: 623 Bytes
Versions: 32
Compression:
Stored size: 623 Bytes
Contents
module Skylight module CLI module Helpers private # Duplicated below def rails_rb File.expand_path("config/application.rb") end def rails? File.exist?(rails_rb) end def config # Calling .load checks ENV variables @config ||= Config.load end # Sets the output padding while executing a block and resets it. # def indent(count = 1) orig_padding = shell.padding shell.padding += count yield shell.padding = orig_padding end end end end
Version data entries
32 entries across 32 versions & 1 rubygems