Sha256: b52393010b489d8360a325ca057a98c1a34721127a00b2ffa7cd799b44b41195
Contents?: true
Size: 534 Bytes
Versions: 13
Compression:
Stored size: 534 Bytes
Contents
# frozen_string_literal: true module Phlex module Icons module Hero require_relative 'hero/base' require_relative 'hero/configuration' Dir[File.join(__dir__, 'hero', '*.rb')].each do |file| next if ['base.rb', 'configuration.rb'].include?(File.basename(file)) require_relative file end class << self def configuration @configuration ||= Configuration.new end def configure yield configuration end end end end end
Version data entries
13 entries across 13 versions & 2 rubygems