Method: MicroMicro::Collections::PropertiesCollection#find_by

Defined in:
lib/micro_micro/collections/properties_collection.rb

#find_by(**args, &block) ⇒ MicroMicro::Property?

Return the first Property from a search.

Parameters:

Returns:

See Also:



29
30
31
# File 'lib/micro_micro/collections/properties_collection.rb', line 29

def find_by(**args, &block)
  where(**args, &block).first
end