Module: Avo::Icons
- Defined in:
- lib/avo/icons.rb,
lib/avo/icons/helpers.rb,
lib/avo/icons/railtie.rb,
lib/avo/icons/version.rb,
lib/avo/icons/svg_finder.rb,
lib/avo/icons/configuration.rb
Defined Under Namespace
Modules: Helpers
Classes: Configuration, Railtie, SvgFinder
Constant Summary
collapse
- VERSION =
"0.1.1"
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.cached_svgs ⇒ Object
Returns the value of attribute cached_svgs.
12
13
14
|
# File 'lib/avo/icons.rb', line 12
def cached_svgs
@cached_svgs
end
|
.configuration ⇒ Object
18
19
20
|
# File 'lib/avo/icons.rb', line 18
def configuration
@configuration ||= Configuration.new
end
|
Class Method Details
22
23
24
|
# File 'lib/avo/icons.rb', line 22
def configure
yield(configuration)
end
|
.reset_configuration! ⇒ Object
26
27
28
|
# File 'lib/avo/icons.rb', line 26
def reset_configuration!
@configuration = Configuration.new
end
|
.root ⇒ Object
14
15
16
|
# File 'lib/avo/icons.rb', line 14
def root
Pathname.new File.expand_path('..', __dir__)
end
|