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