Sha256: 8b96298e8b8065150a25d51606144a663b23e769ed01a73b68a226c79d874551
Contents?: true
Size: 379 Bytes
Versions: 11
Compression:
Stored size: 379 Bytes
Contents
require 'navi/navigable/instance_methods' module Navi module Navigable module Base def navigable(options={}) cattr_accessor :navigable_config self.navigable_config = options has_one Navi.navigator, :as => :navigable include Navi::Navigable::InstanceMethods end end end end ActiveRecord::Base.extend Navi::Navigable::Base
Version data entries
11 entries across 11 versions & 1 rubygems