Sha256: 9554c41258f033b6a697fad9a4b65c39dd6c481b143973c50edccbed94e7a548
Contents?: true
Size: 291 Bytes
Versions: 1
Compression:
Stored size: 291 Bytes
Contents
module FlexibleFilter module Field class Singular attr_reader :model, :field, :value def initialize(model, field, value) @model = model @field = field @value = value end delegate :arel_table, :model_name, to: :model end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
flexible_filter-0.0.1 | lib/flexible_filter/field/singular.rb |