Sha256: 5c3649499b55d00b128c5b1f497a7f3dc4695f71e6e22015bab2b12cbe715d16

Contents?: true

Size: 361 Bytes

Versions: 28

Compression:

Stored size: 361 Bytes

Contents

# frozen_string_literal: true

module EacRubyUtils
  module ActsAsImmutable
    module InstanceMethods
      def immutable_constructor_args
        []
      end

      private

      def immutable_values_get
        @immutable_values || {}
      end

      def immutable_values_set(new_values)
        @immutable_values = new_values
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
eac_ruby_utils-0.124.0 lib/eac_ruby_utils/acts_as_immutable/instance_methods.rb
eac_tools-0.97.2 sub/eac_ruby_utils/lib/eac_ruby_utils/acts_as_immutable/instance_methods.rb
eac_ruby_utils-0.123.0 lib/eac_ruby_utils/acts_as_immutable/instance_methods.rb
eac_ruby_utils-0.121.0 lib/eac_ruby_utils/acts_as_immutable/instance_methods.rb
eac_ruby_utils-0.120.0 lib/eac_ruby_utils/acts_as_immutable/instance_methods.rb
eac_tools-0.76.1 sub/eac_ruby_utils/lib/eac_ruby_utils/acts_as_immutable/instance_methods.rb
eac_tools-0.76.0 sub/eac_ruby_utils/lib/eac_ruby_utils/acts_as_immutable/instance_methods.rb
eac_tools-0.75.2 sub/eac_ruby_utils/lib/eac_ruby_utils/acts_as_immutable/instance_methods.rb
eac_ruby_utils-0.119.2 lib/eac_ruby_utils/acts_as_immutable/instance_methods.rb
eac_tools-0.75.1 sub/eac_ruby_utils/lib/eac_ruby_utils/acts_as_immutable/instance_methods.rb
eac_tools-0.75.0 sub/eac_ruby_utils/lib/eac_ruby_utils/acts_as_immutable/instance_methods.rb
eac_ruby_utils-0.119.1 lib/eac_ruby_utils/acts_as_immutable/instance_methods.rb
eac_tools-0.74.1 sub/eac_ruby_utils/lib/eac_ruby_utils/acts_as_immutable/instance_methods.rb
eac_tools-0.74.0 sub/eac_ruby_utils/lib/eac_ruby_utils/acts_as_immutable/instance_methods.rb
eac_tools-0.73.0 sub/eac_ruby_utils/lib/eac_ruby_utils/acts_as_immutable/instance_methods.rb
eac_ruby_utils-0.119.0 lib/eac_ruby_utils/acts_as_immutable/instance_methods.rb
eac_tools-0.72.0 sub/eac_ruby_utils/lib/eac_ruby_utils/acts_as_immutable/instance_methods.rb
eac_ruby_utils-0.118.1 lib/eac_ruby_utils/acts_as_immutable/instance_methods.rb
eac_ruby_utils-0.118.0 lib/eac_ruby_utils/acts_as_immutable/instance_methods.rb
eac_tools-0.70.1 sub/eac_ruby_utils/lib/eac_ruby_utils/acts_as_immutable/instance_methods.rb