class TMBundle::Menu::Separator

Public Class Methods

new(uuid, order, options = {}) click to toggle source
# File lib/tm_bundle/item.rb, line 53
def initialize(uuid, order, options = {})
  @exclude = false
  self.uuid = uuid
  self.name = uuid
  self.order = order
  self.parent = options[:parent]
end

Public Instance Methods

eql?() click to toggle source
# File lib/tm_bundle/item.rb, line 61
def eql?
  order == order && parent == parent
end
inspect() click to toggle source
# File lib/tm_bundle/item.rb, line 49
def inspect
  "#{order}> — #{name}"
end
separator?() click to toggle source
# File lib/tm_bundle/item.rb, line 65
def separator?; true end