Class: DRb::DRbURIOption
Overview
:nodoc: I don't understand the purpose of this class...
Instance Attribute Summary (collapse)
-
- (Object) option
readonly
Returns the value of attribute option.
Instance Method Summary (collapse)
- - (Object) ==(other) (also: #eql?)
- - (Object) hash
-
- (DRbURIOption) initialize(option)
constructor
A new instance of DRbURIOption.
- - (Object) to_s
Constructor Details
- (DRbURIOption) initialize(option)
A new instance of DRbURIOption
974 975 976 |
# File 'lib/drb/drb.rb', line 974 def initialize(option) @option = option.to_s end |
Instance Attribute Details
- (Object) option (readonly)
Returns the value of attribute option
977 978 979 |
# File 'lib/drb/drb.rb', line 977 def option @option end |
Instance Method Details
- (Object) ==(other) Also known as: eql?
980 981 982 983 |
# File 'lib/drb/drb.rb', line 980 def ==(other) return false unless DRbURIOption === other @option == other.option end |
- (Object) hash
985 986 987 |
# File 'lib/drb/drb.rb', line 985 def hash @option.hash end |
- (Object) to_s
978 |
# File 'lib/drb/drb.rb', line 978 def to_s; @option; end |