Sha256: 3160ccdbe1b17ad0628565b9c89a35996e624d86fac23dad8633da69780d9245
Contents?: true
Size: 564 Bytes
Versions: 20
Compression:
Stored size: 564 Bytes
Contents
module Bookends::FlagHandler extend self def handle_app_flag(app, config) has_valid_app_flag = true case app.downcase.strip when 'www' then config.framework.set(:rails); config.turbolinks.set(false) when 'blog' then config.framework.set(:rails); config.turbolinks.set(false) when 'elements' then config.framework.set(:rails); config.turbolinks.set(true) when 'engineering' then config.framework.set(:jekyll); config.turbolinks.set(false) else has_valid_app_flag = false end has_valid_app_flag end end
Version data entries
20 entries across 20 versions & 1 rubygems