Class: RecordsRip::Tomb

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/records_rip/tomb.rb

Class Method Summary collapse

Class Method Details

.where_epitaph(args = {}) ⇒ Object

Raises:

  • (ArgumentError)


6
7
8
9
# File 'lib/records_rip/tomb.rb', line 6

def where_epitaph(args = {})
  raise ArgumentError, "expected to receive a Hash" unless args.is_a?(Hash)
  WhereEpitaph.new(self, args).execute
end