Module: Heroicons
- Defined in:
- lib/heroicons.rb,
lib/heroicons/icon.rb,
lib/heroicons/engine.rb,
lib/heroicons/version.rb,
lib/heroicons/configuration.rb,
lib/generators/heroicons/install_generator.rb
Defined Under Namespace
Modules: Generators
Classes: Configuration, Engine, Icon
Constant Summary
collapse
- VERSION =
"2.0.1"
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
13
14
15
|
# File 'lib/heroicons/configuration.rb', line 13
def self.configuration
@configuration ||= Configuration.new
end
|
.configuration=(config) ⇒ Object
17
18
19
|
# File 'lib/heroicons/configuration.rb', line 17
def self.configuration=(config)
@configuration = config
end
|
21
22
23
|
# File 'lib/heroicons/configuration.rb', line 21
def self.configure
yield configuration
end
|
.root ⇒ Object
6
7
8
|
# File 'lib/heroicons.rb', line 6
def self.root
File.dirname(__dir__)
end
|