class Navy::Section
Attributes
label[R]
link_to_options[R]
name[R]
url[RW]
Public Class Methods
new(name, label, url, link_to_options, active, &children)
click to toggle source
# File lib/navy/section.rb, line 10 def initialize(name, label, url, link_to_options, active, &children) @name = name @label = label @url = url @active = active @children = children @link_to_options = link_to_options end
Public Instance Methods
active?()
click to toggle source
# File lib/navy/section.rb, line 19 def active? @active end