Module: DryEraser::ModelExtensions::ClassMethods

Defined in:
lib/dry_eraser.rb

Instance Method Summary collapse

Instance Method Details

#dry_erase(*classes_or_instances_or_method_names) ⇒ Object



22
23
24
# File 'lib/dry_eraser.rb', line 22

def dry_erase(*classes_or_instances_or_method_names)
  self.dry_erasers += classes_or_instances_or_method_names
end