Sha256: 62e67d74f49b2c086a04cb89ee8564b5a193e50d832b65f89d3214dc128de437
Contents?: true
Size: 876 Bytes
Versions: 56
Compression:
Stored size: 876 Bytes
Contents
module GovukPublishingComponents def self.configure yield(Config) end module Config STATIC_COMPONENT_DIRECTORY = "govuk_component".freeze APP_COMPONENT_DIRECTORY = "components".freeze mattr_accessor :component_guide_title self.component_guide_title = "GOV.UK 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" mattr_accessor :static self.static = false def self.component_directory_name static ? STATIC_COMPONENT_DIRECTORY : APP_COMPONENT_DIRECTORY end def self.gem_directory Gem::Specification.find_by_name("govuk_publishing_components").gem_dir end end end
Version data entries
56 entries across 56 versions & 1 rubygems