Sha256: 825227a4d9d6b597daf98ad0854c01d00b3262c5878e31965246a5a700795d0c

Contents?: true

Size: 317 Bytes

Versions: 4

Compression:

Stored size: 317 Bytes

Contents

# encoding: utf-8
require_dependency "awesome_nested_set"
module Fastui
  class MMenuItem < MObject
    acts_as_nested_set
    attr_accessible :m_menu_id, :m_menu, :window, :parent_id

    belongs_to :m_menu, :class_name => 'Fastui::MMenu'

    alias :leaf :leaf?
    alias :expanded :child?

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fastui-0.1.8 app/models/fastui/m_menu_item.rb
fastui-0.1.7 app/models/fastui/m_menu_item.rb
fastui-0.1.6 app/models/fastui/m_menu_item.rb
fastui-0.1.4 app/models/fastui/m_menu_item.rb