Module: Tripod::Resource::ClassMethods
- Defined in:
- lib/tripod/resource.rb
Instance Method Summary collapse
-
#===(other) ⇒ Object
Performs class equality checking.
- #get_graph_uri ⇒ Object
- #graph_uri(new_graph_uri) ⇒ Object
Instance Method Details
#===(other) ⇒ Object
Performs class equality checking.
104 105 106 |
# File 'lib/tripod/resource.rb', line 104 def ===(other) other.class == Class ? self <= other : other.is_a?(self) end |
#get_graph_uri ⇒ Object
112 113 114 |
# File 'lib/tripod/resource.rb', line 112 def get_graph_uri self._GRAPH_URI end |
#graph_uri(new_graph_uri) ⇒ Object
108 109 110 |
# File 'lib/tripod/resource.rb', line 108 def graph_uri(new_graph_uri) self._GRAPH_URI = new_graph_uri end |