Class: AEMReference::Query
- Inherits:
-
Object
- Object
- AEMReference::Query
show all
- Defined in:
- lib/_aem/aemreference.rb
Overview
Instance Method Summary
collapse
Constructor Details
#initialize ⇒ Query
Returns a new instance of Query.
88
89
90
|
# File 'lib/_aem/aemreference.rb', line 88
def initialize
@_comparable = nil
end
|
Instance Method Details
#==(val) ⇒ Object
Also known as:
eql?
102
103
104
105
106
|
# File 'lib/_aem/aemreference.rb', line 102
def ==(val)
return (self.equal?(val) or (
self.class == val.class and
self.AEM_comparable == val.AEM_comparable))
end
|
#AEM_comparable ⇒ Object
92
93
94
95
96
97
98
99
100
|
# File 'lib/_aem/aemreference.rb', line 92
def AEM_comparable
if not @_comparable then
collector = AEMReference::CollectComparable.new
AEM_resolve(collector)
@_comparable = collector.result
end
return @_comparable
end
|
#hash ⇒ Object
110
111
112
|
# File 'lib/_aem/aemreference.rb', line 110
def hash
return to_s.hash
end
|
#inspect ⇒ Object
114
115
116
|
# File 'lib/_aem/aemreference.rb', line 114
def inspect
return to_s
end
|