Sha256: d92956c4a3633ea774bbd7d7356d4a2f402ebe2345001ef2fc3f07da8ef12d91
Contents?: true
Size: 597 Bytes
Versions: 43
Compression:
Stored size: 597 Bytes
Contents
module Skylight module CLI module Helpers private # Duplicated below def rails_rb File.expand_path("config/application.rb") end def is_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, &block) orig_padding = shell.padding shell.padding += count yield shell.padding = orig_padding end end end end
Version data entries
43 entries across 43 versions & 1 rubygems