Class: Trestle::Navigation::NullGroup
- Inherits:
-
Object
- Object
- Trestle::Navigation::NullGroup
- Defined in:
- lib/trestle/navigation/group.rb
Instance Method Summary collapse
- #<=>(other) ⇒ Object
- #==(other) ⇒ Object
- #eql?(other) ⇒ Boolean
- #hash ⇒ Object
- #id ⇒ Object
- #merge(other) ⇒ Object
- #present? ⇒ Boolean
Instance Method Details
#<=>(other) ⇒ Object
77 78 79 |
# File 'lib/trestle/navigation/group.rb', line 77 def <=>(other) -1 end |
#==(other) ⇒ Object
61 62 63 |
# File 'lib/trestle/navigation/group.rb', line 61 def ==(other) other.is_a?(NullGroup) end |
#eql?(other) ⇒ Boolean
65 66 67 |
# File 'lib/trestle/navigation/group.rb', line 65 def eql?(other) other.is_a?(NullGroup) end |
#hash ⇒ Object
69 70 71 |
# File 'lib/trestle/navigation/group.rb', line 69 def hash NullGroup.hash end |
#id ⇒ Object
73 74 75 |
# File 'lib/trestle/navigation/group.rb', line 73 def id nil end |
#merge(other) ⇒ Object
81 82 83 |
# File 'lib/trestle/navigation/group.rb', line 81 def merge(other) self end |
#present? ⇒ Boolean
57 58 59 |
# File 'lib/trestle/navigation/group.rb', line 57 def present? false end |