Class: RailsGwt::UserConfigFactory
- Inherits:
-
Object
- Object
- RailsGwt::UserConfigFactory
- Defined in:
- lib/rails_gwt/user_config.rb
Instance Method Summary collapse
Instance Method Details
#[](login) ⇒ Object
4 5 6 |
# File 'lib/rails_gwt/user_config.rb', line 4 def [](login) UserConfig.new(login.to_sym, config[login.to_sym]) end |
#add(login, user_config) ⇒ Object
8 9 10 |
# File 'lib/rails_gwt/user_config.rb', line 8 def add(login, user_config) config[login.to_sym] = user_config end |
#logins ⇒ Object
12 13 14 |
# File 'lib/rails_gwt/user_config.rb', line 12 def logins config.keys end |