Class: CanTango::Config::Localhosts

Inherits:
Registry::Base show all
Includes:
Singleton
Defined in:
lib/cantango/config/localhosts.rb

Instance Attribute Summary

Attributes included from Registry::Base::InstanceMethods

#available, #registered

Instance Method Summary collapse

Methods included from Registry::Base::InstanceMethods

#[], #clean!, #default!, #register, #registered?, #reset!, #types, #types=, #valid?

Instance Method Details

#defaultObject



6
7
8
# File 'lib/cantango/config/localhosts.rb', line 6

def default
  @default ||= ['localhost', '0.0.0.0', '127.0.0.1']
end