Sha256: b5fc1b29a24ba38e894c41482ea161cda87047f0c7b216181dedf7c9031ef966
Contents?: true
Size: 816 Bytes
Versions: 1
Compression:
Stored size: 816 Bytes
Contents
$:<<File.dirname(__FILE__) unless $:.include?(File.dirname(__FILE__)) require 'haml' require 'lolita' module Lolita module Menu module Autocomplete autoload :LinkSet, "lolita-menu/autocomplete/link_set" autoload :FileBuilder, "lolita-menu/autocomplete/file_builder" autoload :Collector, "lolita-menu/autocomplete/collector" def self.generate require Lolita::Menu::Autocomplete::FileBuilder.input_file end end # took this from sitemap_generator Urls = (Class.new do def method_missing(*args, &block) (@link_set ||= reset!).send(*args, &block) end # Use a new LinkSet instance def reset! @link_set = Autocomplete::LinkSet.new end end).new end end require 'lolita-menu/module' require 'lolita-menu/engine'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lolita-menu-0.0.12 | lib/lolita-menu.rb |