Class: CanTango::Configuration::Localhosts
- Inherits:
-
Registry::Base
- Object
- Registry::Base
- CanTango::Configuration::Localhosts
- Includes:
- Singleton
- Defined in:
- lib/cantango/configuration/localhosts.rb
Instance Attribute Summary
Attributes inherited from Registry::Base
Instance Method Summary collapse
Methods inherited from Registry::Base
#[], #clean!, #default!, #register, #registered?, #types, #types=
Instance Method Details
#default ⇒ Object
6 7 8 |
# File 'lib/cantango/configuration/localhosts.rb', line 6 def default @default ||= ['localhost', '0.0.0.0', '127.0.0.1'] end |