Class: IceGrid::AdapterDynamicInfo
- Inherits:
-
Object
- Object
- IceGrid::AdapterDynamicInfo
- Includes:
- Ice::Inspect_mixin
- Defined in:
- lib/IceGrid/Admin.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#proxy ⇒ Object
Returns the value of attribute proxy.
Instance Method Summary collapse
- #==(other) ⇒ Object
- #eql?(other) ⇒ Boolean
- #hash ⇒ Object
-
#initialize(id = '', proxy = nil) ⇒ AdapterDynamicInfo
constructor
A new instance of AdapterDynamicInfo.
Methods included from Ice::Inspect_mixin
Constructor Details
#initialize(id = '', proxy = nil) ⇒ AdapterDynamicInfo
Returns a new instance of AdapterDynamicInfo.
804 805 806 807 |
# File 'lib/IceGrid/Admin.rb', line 804 def initialize(id='', proxy=nil) @id = id @proxy = proxy end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
827 828 829 |
# File 'lib/IceGrid/Admin.rb', line 827 def id @id end |
#proxy ⇒ Object
Returns the value of attribute proxy.
827 828 829 |
# File 'lib/IceGrid/Admin.rb', line 827 def proxy @proxy end |
Instance Method Details
#==(other) ⇒ Object
816 817 818 819 820 821 |
# File 'lib/IceGrid/Admin.rb', line 816 def ==(other) return false if !other.is_a? ::IceGrid::AdapterDynamicInfo or @id != other.id or @proxy != other.proxy true end |
#eql?(other) ⇒ Boolean
823 824 825 |
# File 'lib/IceGrid/Admin.rb', line 823 def eql?(other) return other.class == self.class && other == self end |
#hash ⇒ Object
809 810 811 812 813 814 |
# File 'lib/IceGrid/Admin.rb', line 809 def hash _h = 0 _h = 5 * _h + @id.hash _h = 5 * _h + @proxy.hash _h % 0x7fffffff end |