Sha256: ebcff173f255afa5e5ddb4890b64e1186b088978e29542aae1216f28669f34e7

Contents?: true

Size: 534 Bytes

Versions: 13

Compression:

Stored size: 534 Bytes

Contents

# frozen_string_literal: true

module Phlex
  module Icons
    module Flag
      require_relative 'flag/base'
      require_relative 'flag/configuration'

      Dir[File.join(__dir__, 'flag', '*.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

Version Path
phlex-icons-flag-0.11.0 lib/phlex/icons/flag.rb
phlex-icons-0.11.0 lib/phlex/icons/flag.rb
phlex-icons-0.10.0 lib/phlex/icons/flag.rb
phlex-icons-flag-0.9.0 lib/phlex/icons/flag.rb
phlex-icons-0.9.0 lib/phlex/icons/flag.rb
phlex-icons-0.8.0 lib/phlex/icons/flag.rb
phlex-icons-0.7.0 lib/phlex/icons/flag.rb
phlex-icons-0.6.0 lib/phlex/icons/flag.rb
phlex-icons-0.5.0 lib/phlex/icons/flag.rb
phlex-icons-0.4.0 lib/phlex/icons/flag.rb
phlex-icons-0.3.0 lib/phlex/icons/flag.rb
phlex-icons-0.2.0 lib/phlex/icons/flag.rb
phlex-icons-0.1.0 lib/phlex/icons/flag.rb