lib/vedeu/models/menu.rb in vedeu-0.3.0 vs lib/vedeu/models/menu.rb in vedeu-0.3.1
- old
+ new
@@ -1,16 +1,14 @@
require 'vedeu/models/model'
-require 'vedeu/support/common'
module Vedeu
# Converts the collection passed into a list of menu items which can be
# navigated using the instance methods or events provided.
#
# @api private
class Menu
- include Vedeu::Common
include Vedeu::Model
attr_accessor :collection
# Returns the index of the value in the collection which is current.