Class: RemoteValue

Inherits:
Object
  • Object
show all
Defined in:
lib/exel/remote_value.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#uriObject (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