Module: Sinatra::ReportHelper

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

#pick_date_input(option_hash) ⇒ Object



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

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

#pick_dates_input(option_hash) ⇒ Object



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

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

#pick_month_input(option_hash) ⇒ Object



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

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

#pick_year_input(option_hash) ⇒ Object



18
19
20
# File 'lib/sinatra/helpers/reports.rb', line 18

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