class Object

Public Instance Methods

make_the_parent_guilty() click to toggle source
# File lib/object_attorney.rb, line 54
def make_the_parent_guilty
  return unless parent_defendant

  parent_defendant.errors.add(defendant_options[:name], :invalid)
end