Sha256: b36d912d9fd3cf8a2834b4dda1f9fabfa957b699df5638bf3629417815bde3db
Contents?: true
Size: 1.12 KB
Versions: 3
Compression:
Stored size: 1.12 KB
Contents
module Wbase class << self mattr_accessor( # Common :title, :description, :url, :image, :keywords, :site_name, # Landing :sub_title, :call_to_action, :call_to_action_path, :getting_started_video, # Styles :primary_color, :success_color, :info_color, :warning_color, :danger_color, ) [:team, :nav_items, :features, :case_studies, :testimonials, :socials, :plans].each do |setting| mattr_accessor setting do [] end end landing_sections = [ :nav, :header, :features, :description, :video, :customers, :pricing, :trial, :about, :newsletter, :team, :social, :contact, :footer, ] landing_sections.each do |setting| mattr_accessor setting do true end end mattr_accessor :landing_sections do landing_sections end end def self.setup(&block) yield self end class Engine < ::Rails::Engine isolate_namespace Wbase end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
wbase-0.0.4 | lib/wbase/engine.rb |
wbase-0.0.3 | lib/wbase/engine.rb |
wbase-0.0.2 | lib/wbase/engine.rb |