Module: Heroicon
- Defined in:
- lib/heroicon.rb,
lib/heroicon/icon.rb,
lib/heroicon/engine.rb,
lib/heroicon/version.rb,
lib/heroicon/configuration.rb,
app/helpers/heroicon/application_helper.rb,
lib/generators/heroicon/install_generator.rb
Defined Under Namespace
Modules: ApplicationHelper, Generators
Classes: Configuration, Engine, Icon
Constant Summary
collapse
- VERSION =
"1.0.0"
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
15
16
17
|
# File 'lib/heroicon/configuration.rb', line 15
def self.configuration
@configuration ||= Configuration.new
end
|
.configuration=(config) ⇒ Object
19
20
21
|
# File 'lib/heroicon/configuration.rb', line 19
def self.configuration=(config)
@configuration = config
end
|
23
24
25
|
# File 'lib/heroicon/configuration.rb', line 23
def self.configure
yield configuration
end
|
.root ⇒ Object
8
9
10
|
# File 'lib/heroicon.rb', line 8
def self.root
File.dirname(__dir__)
end
|