Sha256: 46a8c3095c7644c844f02abeb3ef67c4dc4e85b051f2dcbaf8ae9cd51be17691
Contents?: true
Size: 388 Bytes
Versions: 2
Compression:
Stored size: 388 Bytes
Contents
# encoding: utf-8 module Sinatra module ChartsHandler extend Hexacta def simple_line(option_hash) slim "#{Hexacta::GEM_FILE_DIR}/charts/simple_line".to_sym, locals: option_hash end setup_dir("/app/views/#{Hexacta::GEM_FILE_DIR}/charts") symlink_all("/lib/sinatra/views/charts","/app/views/#{Hexacta::GEM_FILE_DIR}/charts") end helpers ChartsHandler end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sinatra-hexacta-0.0.2 | lib/sinatra/helpers/charts.rb |
sinatra-hexacta-0.0.1 | lib/sinatra/helpers/charts.rb |