Module: Heroicons

Defined in:
lib/heroicons-ruby.rb,
lib/heroicons/icon.rb,
lib/heroicons/config.rb,
lib/heroicons/helper.rb,
lib/heroicons/railtie.rb,
lib/heroicons/version.rb

Defined Under Namespace

Modules: Helper Classes: Config, Icon, Railtie

Constant Summary collapse

ICONS_PATH =
File.join(File.dirname(__FILE__), "../icons")
VERSION =
"2.1.1"

Class Method Summary collapse

Class Method Details

.configObject



13
14
15
# File 'lib/heroicons/config.rb', line 13

def self.config
  @config ||= Config.new
end

.configure {|config| ... } ⇒ Object

Yields:



17
18
19
# File 'lib/heroicons/config.rb', line 17

def self.configure
  yield config
end