Sha256: 3e72557484387c55e08f013dd88afca359b1413d10bc43724474e30a65ad0896

Contents?: true

Size: 721 Bytes

Versions: 449

Compression:

Stored size: 721 Bytes

Contents

module GovukPublishingComponents
  def self.configure
    yield(Config)
  end

  module Config
    APP_COMPONENT_DIRECTORY = "components".freeze

    mattr_accessor :component_guide_title
    self.component_guide_title = "Component Guide"

    mattr_accessor :application_stylesheet
    self.application_stylesheet = "application"

    mattr_accessor :application_print_stylesheet
    self.application_print_stylesheet = "print"

    mattr_accessor :application_javascript
    self.application_javascript = "application"

    def self.component_directory_name
      APP_COMPONENT_DIRECTORY
    end

    def self.gem_directory
      Gem::Specification.find_by_name("govuk_publishing_components").gem_dir
    end
  end
end

Version data entries

449 entries across 449 versions & 1 rubygems

Version Path
govuk_publishing_components-33.1.0 lib/govuk_publishing_components/config.rb
govuk_publishing_components-33.0.0 lib/govuk_publishing_components/config.rb
govuk_publishing_components-32.1.0 lib/govuk_publishing_components/config.rb
govuk_publishing_components-32.0.0 lib/govuk_publishing_components/config.rb
govuk_publishing_components-31.2.0 lib/govuk_publishing_components/config.rb
govuk_publishing_components-31.1.2 lib/govuk_publishing_components/config.rb
govuk_publishing_components-31.1.1 lib/govuk_publishing_components/config.rb
govuk_publishing_components-31.1.0 lib/govuk_publishing_components/config.rb
govuk_publishing_components-31.0.0 lib/govuk_publishing_components/config.rb
govuk_publishing_components-30.7.3 lib/govuk_publishing_components/config.rb
govuk_publishing_components-30.7.2 lib/govuk_publishing_components/config.rb
govuk_publishing_components-30.7.1 lib/govuk_publishing_components/config.rb
govuk_publishing_components-30.7.0 lib/govuk_publishing_components/config.rb
govuk_publishing_components-30.6.1 lib/govuk_publishing_components/config.rb
govuk_publishing_components-30.6.0 lib/govuk_publishing_components/config.rb
govuk_publishing_components-30.5.2 lib/govuk_publishing_components/config.rb
govuk_publishing_components-30.5.1 lib/govuk_publishing_components/config.rb
govuk_publishing_components-30.5.0 lib/govuk_publishing_components/config.rb
govuk_publishing_components-30.4.1 lib/govuk_publishing_components/config.rb
govuk_publishing_components-30.4.0 lib/govuk_publishing_components/config.rb