Sha256: aa6c0bf24a9f67f2992bdbb078f974cf058b34c70e130de129c52c8894d0dbfa

Contents?: true

Size: 208 Bytes

Versions: 2

Compression:

Stored size: 208 Bytes

Contents

module Nav

  autoload :Builder, File.dirname(__FILE__) + '/nav/builder'

  def nav( options = {}, &block )
    Nav::Builder.new( self, options, &block ).to_s
  end

end

ActionView::Base.send :include, Nav

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nav-0.9.0 lib/nav.rb
nav-0.7.0 lib/nav.rb