module ComponentLibrary

Constants

VERSION

Attributes

configuration[RW]

Public Class Methods

configure() { |configuration| ... } click to toggle source
# File lib/component_library.rb, line 15
def self.configure(&block)
  self.configuration ||= Configuration.new
  yield(configuration)
end
javascript_path() click to toggle source
# File lib/component_library.rb, line 28
def self.javascript_path
  '_component_library/library'
end
reset() click to toggle source
# File lib/component_library.rb, line 20
def self.reset
  @configuration = Configuration.new
end
setup() { |configuration| ... } click to toggle source
# File lib/component_library.rb, line 9
def self.setup(&block)
  puts "DEPRECATION NOTICE: configuration via .setup will be removed in future versions of the Component Library gem. Please use .configure instead."
  self.configuration ||= Configuration.new
  yield(configuration)
end
stylesheet_path() click to toggle source
# File lib/component_library.rb, line 24
def self.stylesheet_path
  '_component_library/library'
end