Module: Storefront

Defined in:
lib/storefront/railtie.rb,
lib/storefront/models/model.rb,
lib/storefront/configuration.rb,
lib/storefront/components/nav.rb,
lib/storefront/components/form.rb,
lib/storefront/components/time.rb,
lib/storefront/components/text.rb,
lib/storefront/components/menu.rb,
lib/storefront/components/base.rb,
lib/storefront/components/list.rb,
lib/storefront/components/image.rb,
lib/storefront/components/flash.rb,
lib/storefront/components/table.rb,
lib/storefront/models/attribute.rb,
lib/storefront/components/header.rb,
lib/storefront/components/footer.rb,
lib/storefront/components/button.rb,
lib/storefront/components/sidebar.rb,
lib/storefront/helpers/tag_helper.rb,
lib/storefront/helpers/dom_helper.rb,
lib/storefront/helpers/head_helper.rb,
lib/storefront/components/form/base.rb,
lib/storefront/helpers/cache_helper.rb,
lib/storefront/helpers/model_helper.rb,
lib/storefront/components/form/hint.rb,
lib/storefront/components/form/input.rb,
lib/storefront/components/breadcrumb.rb,
lib/storefront/components/form/field.rb,
lib/storefront/components/form/label.rb,
lib/storefront/components/form/errors.rb,
lib/storefront/helpers/request_helper.rb,
lib/storefront/helpers/content_helper.rb,
lib/storefront/components/form/inputs.rb,
lib/storefront/components/form/builder.rb,
lib/storefront/components/form/fieldset.rb,
lib/storefront/helpers/component_helper.rb,
lib/storefront/components/definition_list.rb,
lib/storefront/components/form/inputs/date.rb,
lib/storefront/components/form/inputs/file.rb,
lib/storefront/components/form/inputs/value.rb,
lib/storefront/components/form/inputs/range.rb,
lib/storefront/components/form/inputs/radio.rb,
lib/storefront/components/form/inputs/string.rb,
lib/storefront/components/form/inputs/select.rb,
lib/storefront/components/form/inputs/submit.rb,
lib/storefront/components/form/inputs/hidden.rb,
lib/storefront/components/javascript_template.rb,
lib/storefront/components/form/inputs/textarea.rb,
lib/storefront/components/definition_list_item.rb,
lib/storefront/components/form/inputs/checkbox.rb

Defined Under Namespace

Modules: Components, Helpers Classes: Attribute, Configuration, Model, Railtie

Class Method Summary collapse

Class Method Details

.configurationObject



7
8
9
# File 'lib/storefront/configuration.rb', line 7

def configuration
  @configuration ||= Storefront::Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



3
4
5
# File 'lib/storefront/configuration.rb', line 3

def configure(&block)
  yield configuration
end