Sha256: 641552913d834268805c4e33818cbf68eeacde9e21b311afdbe1e19e18d5c1cb

Contents?: true

Size: 164 Bytes

Versions: 7

Compression:

Stored size: 164 Bytes

Contents

module SimCtl
  class Object
    def initialize(args)
      args.each do |k, v|
        instance_variable_set("@#{k}", v) unless v.nil?
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
simctl-1.6.10 lib/simctl/object.rb
simctl-1.6.8 lib/simctl/object.rb
simctl-1.6.7 lib/simctl/object.rb
simctl-1.6.6 lib/simctl/object.rb
simctl-1.6.5 lib/simctl/object.rb
simctl-1.6.4 lib/simctl/object.rb
simctl-1.6.3 lib/simctl/object.rb