Sha256: 727c75b6b6e9bb82a1842768f817ca92fdd7d0acd60e53e8171671c9f72d4bbc
Contents?: true
Size: 572 Bytes
Versions: 5
Compression:
Stored size: 572 Bytes
Contents
# frozen_string_literal: true require 'active_support/core_ext/module/delegation' require_relative 'entry/keypath' require_relative 'entry/value' class ActiveSet class Instructions class Entry attr_reader :keypath delegate :path, :attribute, :operator, :associations_array, :associations_hash, :value_for, :resource_for, to: :keypath def initialize(keypath, value) @keypath = KeyPath.new(keypath) @value = Value.new(value) end def value @value.raw end end end end
Version data entries
5 entries across 5 versions & 1 rubygems