Parent

Files

SimpleNavigation::Adapters::Padrino

Public Class Methods

register() click to toggle source
# File lib/simple_navigation/adapters/padrino.rb, line 5
def self.register
  SimpleNavigation.set_env(PADRINO_ROOT, PADRINO_ENV)
  ::Padrino::Application.send(:helpers, SimpleNavigation::Helpers)
end

Public Instance Methods

content_tag(type, content, options={}) click to toggle source
# File lib/simple_navigation/adapters/padrino.rb, line 14
def content_tag(type, content, options={})
  context.content_tag type, content, options
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.