Sha256: 42360705f93bc391dd07f9a2f1c0da838c2bacd9273bf59fe127a5e63795dd33

Contents?: true

Size: 135 Bytes

Versions: 30

Compression:

Stored size: 135 Bytes

Contents

module Refine::Conditions::HasMeta
  def meta
    @meta ||= {}
  end

  def with_meta(value)
    meta.merge!(value)
    self
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
refine-rails-2.12.0 app/models/refine/conditions/has_meta.rb
refine-rails-2.11.12 app/models/refine/conditions/has_meta.rb
refine-rails-2.11.11 app/models/refine/conditions/has_meta.rb
refine-rails-2.11.10 app/models/refine/conditions/has_meta.rb
refine-rails-2.11.9 app/models/refine/conditions/has_meta.rb
refine-rails-2.11.8 app/models/refine/conditions/has_meta.rb
refine-rails-2.11.6 app/models/refine/conditions/has_meta.rb
refine-rails-2.11.5 app/models/refine/conditions/has_meta.rb
refine-rails-2.11.4 app/models/refine/conditions/has_meta.rb
refine-rails-2.11.3 app/models/refine/conditions/has_meta.rb
refine-rails-2.11.2 app/models/refine/conditions/has_meta.rb
refine-rails-2.11.1 app/models/refine/conditions/has_meta.rb
refine-rails-2.11.0 app/models/refine/conditions/has_meta.rb
refine-rails-2.10.1 app/models/refine/conditions/has_meta.rb
refine-rails-2.10.0 app/models/refine/conditions/has_meta.rb
refine-rails-2.9.14 app/models/refine/conditions/has_meta.rb
refine-rails-2.9.13 app/models/refine/conditions/has_meta.rb
refine-rails-2.9.12 app/models/refine/conditions/has_meta.rb
refine-rails-2.9.11 app/models/refine/conditions/has_meta.rb
refine-rails-2.9.10 app/models/refine/conditions/has_meta.rb