Sha256: b5b0e5260493955a8e173759f9a2cf5460f43a84b6afca5c90cf839ba274f9c8

Contents?: true

Size: 294 Bytes

Versions: 3

Compression:

Stored size: 294 Bytes

Contents

module KF5
  class Properties
    attr_accessor :username, :name, :phone, :photo

    def initialize(options = {})
      @username = :username
      @name = :name
      @phone = :phone
      options.each { |key, value| 
        instance_variable_set("@#{key}", value)
      }
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kf5-0.4.0 lib/kf5/properties.rb
kf5-0.3.3 lib/kf5/properties.rb
kf5-0.3.2 lib/kf5/properties.rb