Method: ComponentLibrary.setup
- Defined in:
- lib/component_library.rb
.setup {|configuration| ... } ⇒ Object
9 10 11 12 13 |
# 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 |