Sha256: 846b6eeb151ce68702e2bde9a3ff8b050cea4fd4f44d8fd527ffe735ef00d2e0

Contents?: true

Size: 346 Bytes

Versions: 2

Compression:

Stored size: 346 Bytes

Contents

module SvgHeartsYou
  class << self
    attr_accessor :configuration
  end

  # Allow a persistent configuration object to be set on the module
  def self.configure
    yield(configuration)
  end

  private
  def self.configuration
    @configuration ||= Configuration.new
  end

  def self.reset
    @configuration = Configuration.new
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
svg_hearts_you-0.0.2 lib/svg_hearts_you/module.rb
svg_hearts_you-0.0.1 lib/svg_hearts_you/module.rb