Sha256: c7bbe9a8de39654d1b8506e898c7de2dcca887ac2202ab5472f256c99fcb27d8
Contents?: true
Size: 309 Bytes
Versions: 4
Compression:
Stored size: 309 Bytes
Contents
# frozen_string_literal: true module Zenaton # :nodoc module Refinements refine Object do # Convert to a simple hash def to_zenaton instance_variables.map do |ivar| value = instance_variable_get(ivar) [ivar, value] end.to_h end end end end
Version data entries
4 entries across 4 versions & 1 rubygems