instance method
settings
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.2.3Signature
settings()
No documentation comment.
Source
# File railties/lib/rails/mongrel_server/commands.rb, line 240
def settings
config_keys.inject({}) do |hash, key|
value = self.instance_variable_get("@#{key}")
key = 'host' if key == 'address'
hash[key.to_sym] ||= value
hash
end
end
Defined in railties/lib/rails/mongrel_server/commands.rb line 240
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::MongrelServer::Start