Sha256: 3c7c4d24e67a395582308c3d50223668362b5f5f2bab21f5d7079144f54fd744
Contents?: true
Size: 286 Bytes
Versions: 3
Compression:
Stored size: 286 Bytes
Contents
module KF5 class Properties attr_accessor :username, :name, :phone 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.2.1 | lib/kf5/properties.rb |
kf5-0.2.0 | lib/kf5/properties.rb |
kf5-0.1.0 | lib/kf5/properties.rb |