Sha256: 4b482a0df482f9621e71a83645a5aa83865426c407178fa71d198f190ef7742c
Contents?: true
Size: 519 Bytes
Versions: 6
Compression:
Stored size: 519 Bytes
Contents
module AgnosticBackend module Queryable class Value < TreeNode attr_accessor :value attr_reader :parent def initialize(value, parent:, context:) super([], context) @value, @parent = value, parent end def ==(o) super && o.value == value end def associated_attribute parent.attribute if parent.respond_to? :attribute end def type associated_attribute.type if associated_attribute.present? end end end end
Version data entries
6 entries across 6 versions & 1 rubygems