Sha256: e7f258cfe245da1d3c49af087bf571cf25cec1ab6c06c99a2bcc7ea7ce3ebea8
Contents?: true
Size: 426 Bytes
Versions: 26
Compression:
Stored size: 426 Bytes
Contents
# frozen_string_literal: true module Scim module Kit # Allows dynamic creation of attributes. module DynamicAttributes def method_missing(method, *args) return super unless respond_to_missing?(method) @dynamic_attributes[method] = args[0] end def respond_to_missing?(method, _include_private = false) @dynamic_attributes.key?(method) || super end end end end
Version data entries
26 entries across 26 versions & 1 rubygems