Sha256: 8f774b838c31e7a0ac964780b8792b6c9b661a5c19f63781f630e98301106835

Contents?: true

Size: 370 Bytes

Versions: 4

Compression:

Stored size: 370 Bytes

Contents

# Models a navigation.

require 'katapult/element'
require 'generators/katapult/navigation/navigation_generator'

module Katapult
  class Navigation < Element

    def wuis
      application_model.wuis
    end

    def section_name(wui)
      wui.model_name(:symbols)
    end

    def render
      Generators::NavigationGenerator.new(self).invoke_all
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
katapult-0.2.0 lib/katapult/navigation.rb
katapult-0.1.2 lib/katapult/navigation.rb
katapult-0.1.1 lib/katapult/navigation.rb
katapult-0.1.0 lib/katapult/navigation.rb