class Faker::Address
def street_address(legacy_include_secondary = NOT_GIVEN, include_secondary: false)
-
(String)
-
Parameters:
-
include_secondary
(Boolean
) -- Whether or not to include the secondary address.
def street_address(legacy_include_secondary = NOT_GIVEN, include_secondary: false) warn_for_deprecated_arguments do |keywords| keywords << :include_secondary if legacy_include_secondary != NOT_GIVEN end numerify(parse('address.street_address') + (include_secondary ? ' ' + secondary_address : '')) end