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

.configurationObject



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

.configure {|configuration| ... } ⇒ Object

Yields:



21
22
23
# File 'lib/heroicons/configuration.rb', line 21

def self.configure
  yield configuration
end

.rootObject



6
7
8
# File 'lib/heroicons.rb', line 6

def self.root
  File.dirname(__dir__)
end