Class: Specifind::FindBy

Inherits:
MethodBuilder show all
Includes:
Finder
Defined in:
lib/specifind/method_builder.rb

Instance Attribute Summary

Attributes inherited from MethodBuilder

#attribute_names, #attributes, #model, #name

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Finder

#attributes_hash, #body, #result, #signature

Methods inherited from MethodBuilder

#body, #define, #initialize, match, #merge_attribute_types, parse_to_attributes, pattern, suffix, #valid?

Constructor Details

This class inherits a constructor from Specifind::MethodBuilder

Class Method Details

.prefixObject



118
119
120
# File 'lib/specifind/method_builder.rb', line 118

def self.prefix
  "find_by"
end

Instance Method Details

#finderObject



122
123
124
# File 'lib/specifind/method_builder.rb', line 122

def finder
  "find_by"
end