Class: Uorm::Attributes::FieldCollection

Inherits:
Array
  • Object
show all
Defined in:
lib/uorm/attributes/field_collection.rb

Instance Method Summary collapse

Instance Method Details

#get(name) ⇒ Object



4
5
6
# File 'lib/uorm/attributes/field_collection.rb', line 4

def get name
  self.find { |f| f.name.to_s == name.to_s }
end