lib/faker/default/relationship.rb in faker-1.9.6 vs lib/faker/default/relationship.rb in faker-2.0

- old
+ new

@@ -3,10 +3,10 @@ module Faker class Relationship < Base flexible :relationship class << self - def familial(connection = nil) + def familial(connection: nil) familial_connections = translate('faker.relationship.familial').keys if connection.nil? connection = sample(familial_connections).to_s else