Class: RubyHaze::GroupConfig
- Inherits:
-
Object
- Object
- RubyHaze::GroupConfig
- Includes:
- Mixins::Proxy
- Defined in:
- lib/rubyhaze/configs/group.rb
Instance Attribute Summary
Attributes included from Mixins::Proxy
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ GroupConfig
constructor
A new instance of GroupConfig.
Methods included from Mixins::Proxy
included, #method_missing, #respond_to?
Constructor Details
#initialize(options = {}) ⇒ GroupConfig
Returns a new instance of GroupConfig.
11 12 13 14 |
# File 'lib/rubyhaze/configs/group.rb', line 11 def initialize( = {}) @proxy_object = Java::ComHazelcastConfig::GroupConfig.new .each { |k,v| send "#{k}=", v } end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class RubyHaze::Mixins::Proxy
Class Method Details
.default_options ⇒ Object
18 19 20 |
# File 'lib/rubyhaze/configs/group.rb', line 18 def { :username => 'dev', :password => 'dev-pass' } end |