Module: Sinatra::LibrariesHelper

Extended by:
Hexacta
Defined in:
lib/sinatra/helpers/libraries.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

#include_cssObject



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

def include_css
  slim "#{Hexacta::GEM_FILE_DIR}/libraries/include_css".to_sym
end

#include_js_afterObject



14
15
16
# File 'lib/sinatra/helpers/libraries.rb', line 14

def include_js_after
  slim "#{Hexacta::GEM_FILE_DIR}/libraries/include_js_after".to_sym
end

#include_js_beforeObject



10
11
12
# File 'lib/sinatra/helpers/libraries.rb', line 10

def include_js_before
  slim "#{Hexacta::GEM_FILE_DIR}/libraries/include_js_before".to_sym
end