Module: RailsuiIcon

Defined in:
lib/railsui_icon.rb,
lib/railsui_icon/icon.rb,
lib/railsui_icon/engine.rb,
lib/railsui_icon/helpers.rb,
lib/railsui_icon/railtie.rb,
lib/railsui_icon/version.rb,
lib/railsui_icon/configuration.rb,
lib/generators/railsui_icon/install/install_generator.rb

Defined Under Namespace

Modules: Generators, Helpers Classes: Configuration, Engine, Icon, Railtie

Constant Summary collapse

VERSION =
"1.1.1"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



10
11
12
# File 'lib/railsui_icon.rb', line 10

def configuration
  @configuration
end

Class Method Details

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

Yields:



12
13
14
15
# File 'lib/railsui_icon.rb', line 12

def configure
  self.configuration ||= Configuration.new
  yield(configuration)
end

.rootObject



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

def root
  File.dirname(__dir__)
end