Class: RemoteValue
- Inherits:
-
Object
- Object
- RemoteValue
- Defined in:
- lib/exel/remote_value.rb
Instance Attribute Summary collapse
-
#uri ⇒ Object
readonly
Returns the value of attribute uri.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(uri) ⇒ RemoteValue
constructor
A new instance of RemoteValue.
Constructor Details
#initialize(uri) ⇒ RemoteValue
Returns a new instance of RemoteValue.
4 5 6 |
# File 'lib/exel/remote_value.rb', line 4 def initialize(uri) @uri = uri end |
Instance Attribute Details
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
2 3 4 |
# File 'lib/exel/remote_value.rb', line 2 def uri @uri end |
Instance Method Details
#==(other) ⇒ Object
8 9 10 |
# File 'lib/exel/remote_value.rb', line 8 def ==(other) other.class == self.class && other.uri == @uri end |