Class: DRb::DRbURIOption
Do not use. This class is for internal use only.
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/drb/drb.rb |
Overview
I don’t understand the purpose of this class…
Class Method Summary
- .new(option) ⇒ DRbURIOption constructor
Instance Attribute Summary
- #option readonly
Instance Method Summary
- #==(other) (also: #eql?)
-
#eql?(other)
Alias for #==.
- #hash
- #to_s
Constructor Details
.new(option) ⇒ DRbURIOption
Instance Attribute Details
#option (readonly)
[ GitHub ]# File 'lib/drb/drb.rb', line 1025
attr_reader :option
Instance Method Details
#==(other) Also known as: #eql?
[ GitHub ]# File 'lib/drb/drb.rb', line 1028
def ==(other) return false unless DRbURIOption === other @option == other.option end
#eql?(other)
Alias for #==.
# File 'lib/drb/drb.rb', line 1037
alias eql? ==
#hash
[ GitHub ]# File 'lib/drb/drb.rb', line 1033
def hash @option.hash end
#to_s
[ GitHub ]# File 'lib/drb/drb.rb', line 1026
def to_s; @option; end