Sha256: beb7bca88839a0aa88405f127f7b7db7e96578e53bfa6d76f1a70ea36562e7fa
Contents?: true
Size: 405 Bytes
Versions: 9
Compression:
Stored size: 405 Bytes
Contents
# frozen_string_literal: true require 'active_support/concern' module AppStoreDevApi module Object module Properties extend ActiveSupport::Concern class_methods do def properties @properties ||= {} end def property(name, options = {}) properties[name] = options attr_accessor name.to_sym end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems