class Golem::Command::Environment
Command for listing configuration variables.
Constants
- USAGE
@private
Public Instance Methods
run()
click to toggle source
List configuration variables that are set.
# File lib/golem/command/environment.rb, line 7 def run print "Configuration values:\n" print Golem::Config.config_hash.collect {|k, v| "\t " + k.to_s + ": " + v.to_s}.join("\n") + "\n" end