class Faker::Hobby

Public Class Methods

activity() click to toggle source

Retrieves a typical hobby activity.

@return [String]

@example

Faker::Hobby.activity #=> "Cooking"

@faker.version next

# File lib/faker/default/hobby.rb, line 17
def activity
  fetch('hobby.activity')
end