Sha256: bebc8c5aec331fdf8e2474b3c62b743b69ae2f063ba9173f03a7647746799393

Contents?: true

Size: 283 Bytes

Versions: 1

Compression:

Stored size: 283 Bytes

Contents

module AmpHelper
  class << self
    attr_accessor :configuration
  end

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

  class Configuration
    attr_accessor :format_2x

    def initialize
      @format_2x = nil
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
amp_helper-0.1.3 lib/amp_helper/configuration.rb