Class: MemDB::Fields

Inherits:
Object
  • Object
show all
Defined in:
lib/mem_db/fields.rb

Defined Under Namespace

Classes: Matching

Instance Method Summary collapse

Constructor Details

#initialize(fields) ⇒ Fields

Returns a new instance of Fields.


21
22
23
# File 'lib/mem_db/fields.rb', line 21

def initialize(fields)
  @fields = fields
end

Instance Method Details

#new_matching(obj) ⇒ Object


25
26
27
# File 'lib/mem_db/fields.rb', line 25

def new_matching(obj)
  Matching.new(@fields, obj)
end