Sha256: 5f729076a43fa76eca60de2560c8367a3d6ce8a709e5ee619a8bc7ac93c82a4c
Contents?: true
Size: 506 Bytes
Versions: 9
Compression:
Stored size: 506 Bytes
Contents
# frozen_string_literal: true require 'active_support/concern' module AppStoreDevApi module Object module Included extend ActiveSupport::Concern included do attr_reader :included klass = Class.new do |i| i.send(:define_method, :initialize) do |objects| instance_variable_set('@objects', [*objects]) end def to_a @objects end end const_set('Included', klass) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems