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
78 79 80 |
# File 'lib/trestle/navigation/group.rb', line 78 def <=>(other) -1 end |
#==(other) ⇒ Object
62 63 64 |
# File 'lib/trestle/navigation/group.rb', line 62 def ==(other) other.is_a?(NullGroup) end |
#eql?(other) ⇒ Boolean
66 67 68 |
# File 'lib/trestle/navigation/group.rb', line 66 def eql?(other) other.is_a?(NullGroup) end |
#hash ⇒ Object
70 71 72 |
# File 'lib/trestle/navigation/group.rb', line 70 def hash NullGroup.hash end |
#id ⇒ Object
74 75 76 |
# File 'lib/trestle/navigation/group.rb', line 74 def id nil end |
#merge(other) ⇒ Object
82 83 84 |
# File 'lib/trestle/navigation/group.rb', line 82 def merge(other) self end |
#present? ⇒ Boolean
58 59 60 |
# File 'lib/trestle/navigation/group.rb', line 58 def present? false end |