Sha256: 137cac9947b933f2df7f60e2ef1d7bd9241258928cc3e87ed473999f67e1cf91

Contents?: true

Size: 173 Bytes

Versions: 1

Compression:

Stored size: 173 Bytes

Contents

# frozen_string_literal: true

module Refinements
  # Refinements for objects.
  module Objects
    refine Object do
      alias_method :then, :yield_self
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
refinements-5.2.0 lib/refinements/objects.rb