Sha256: 6e36ea3ff1585119a98b61c81e6e18702dfde598745591a57e652218e4b4828e
Contents?: true
Size: 277 Bytes
Versions: 23
Compression:
Stored size: 277 Bytes
Contents
# frozen_string_literal: true module Refinements # Provides additional enhancements to the Symbol primitive. module Symbols refine Symbol do def call(*arguments, &) proc { |receiver| receiver.public_send self, *arguments, & } end end end end
Version data entries
23 entries across 23 versions & 1 rubygems