Module: Sinatra::MenuHelper

Extended by:
Hexacta
Defined in:
lib/sinatra/helpers/menu.rb

Constant Summary

Constants included from Hexacta

Hexacta::GEM_FILE_DIR

Instance Method Summary collapse

Methods included from Hexacta

copy_all_files, copy_dir_structure, copy_file, gem_path, setup_dir

Instance Method Details



6
7
8
# File 'lib/sinatra/helpers/menu.rb', line 6

def menu(option_hash)
  slim "#{Hexacta::GEM_FILE_DIR}/menu/menu".to_sym, locals: option_hash
end