Module: KisoThemes

Defined in:
lib/kiso_themes/engine.rb,
lib/kiso_themes/version.rb,
lib/kiso_themes/compatibility.rb,
lib/generators/kiso_themes/page_generator.rb,
lib/generators/kiso_themes/handler_support.rb,
lib/generators/kiso_themes/devise_generator.rb,
lib/generators/kiso_themes/install_generator.rb,
lib/generators/kiso_themes/app_pages_generator.rb,
lib/generators/kiso_themes/customize_generator.rb,
lib/generators/kiso_themes/faq_pages_generator.rb,
lib/generators/kiso_themes/error_pages_generator.rb,
lib/generators/kiso_themes/legal_pages_generator.rb,
lib/generators/kiso_themes/email_layout_generator.rb,
lib/generators/kiso_themes/landing_pages_generator.rb,
lib/generators/kiso_themes/pricing_pages_generator.rb,
lib/generators/kiso_themes/content_blocks_generator.rb,
lib/kiso_themes/extensions/simple_form/form_builder.rb,
lib/generators/kiso_themes/blog_post_pages_generator.rb,
lib/generators/kiso_themes/dashboard_pages_generator.rb,
lib/generators/kiso_themes/blog_archive_pages_generator.rb,
lib/generators/kiso_themes/user_account_pages_generator.rb,
lib/kiso_themes/extensions/simple_form/errors_component.rb,
lib/kiso_themes/extensions/simple_form/required_component.rb,
lib/generators/kiso_themes/analytics_detail_pages_generator.rb,
lib/generators/kiso_themes/analytics_dashboard_pages_generator.rb

Defined Under Namespace

Modules: Auriga, Gemini, Generators, Lyra, Orion, SimpleForm Classes: Engine

Constant Summary collapse

VERSION =
File.read(File.expand_path('../../../VERSION', __FILE__))
THEMES =
['Orion', 'Gemini', 'Auriga', 'Lyra']

Class Method Summary collapse

Class Method Details

.key_value(key, value) ⇒ Object



2
3
4
5
6
7
8
# File 'lib/kiso_themes/compatibility.rb', line 2

def self.key_value(key, value)
  if RUBY_VERSION < '1.9'
    ":#{key} => #{value}"
  else
    "#{key}: #{value}"
  end
end