Sha256: 61671da7e2f7451717206fd7232e487b96d1aad7900d6aa7aebc8e09b7d8cc51

Contents?: true

Size: 299 Bytes

Versions: 3

Compression:

Stored size: 299 Bytes

Contents

module KF5
  class Configuration
    attr_reader :properties
    attr_accessor :key, :domain

    def initialize(options = {})
      options.each { |key, value| 
        instance_variable_set("@#{key}", value)
      }
      @properties = Properties.new(options[:properties] || {})
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kf5-0.2.1 lib/kf5/configuration.rb
kf5-0.2.0 lib/kf5/configuration.rb
kf5-0.1.0 lib/kf5/configuration.rb