Parent

Methods

Files

Class Index [+]

Quicksearch

Ubiquo::NavigationLinks::NavigatorLinks

Attributes

html_options[RW]

(Not documented)

Public Class Methods

new(options = {}) click to toggle source

(Not documented)

    # File vendor/plugins/ubiquo_core/lib/ubiquo/navigation_links/navigator_links.rb, line 6
 6:       def initialize(options = {})
 7: 
 8:         # Get default options for each Link

 9:         if options[:link_options] && options[:link_options].kind_of?(Hash)
10:           @link_options = options[:link_options]
11:         else
12:           @link_options = {}
13:         end
14:         options.delete(:link_options)
15:         
16:         # Merge html options with other configuration options

17:         options.merge!(options.delete(:html)||{})
18: 
19:         # Options for <ul>

20:         @html_options = { :id => options[:id], 
21:           :class => options[:class] }
22:         
23:         # Links attribute will contain an array of Link instances

24:         @links = []
25:         
26:       end

Public Instance Methods

Disabled; run with $DEBUG to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.