Sha256: a97d0b572376bcca5717127d1b0e342632c4d1e397a026e95b79ab7eae7d9b7d

Contents?: true

Size: 586 Bytes

Versions: 2

Compression:

Stored size: 586 Bytes

Contents

# frozen_string_literal: true
require_relative "ferver/configuration"
require_relative "ferver/errors"
require_relative "ferver/app"
require_relative "ferver/controller"
require_relative "ferver/ferver_directory"
require_relative "ferver/file_list"
require_relative "ferver/found_file"
require_relative "ferver/version"

module Ferver
  class << self
    attr_accessor :configuration

    def configuration
      @configuration ||= Configuration.new
    end

    def reset
      @configuration = Configuration.new
    end

    def configure
      yield(configuration)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ferver-1.4.0 lib/ferver.rb
ferver-1.3.1 lib/ferver.rb