Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 177 Bytes

boolean.md

File metadata and controls

10 lines (7 loc) · 177 Bytes

Faker::Boolean

Available since version 1.6.2.

Faker::Boolean.boolean #=> true

# Keyword parameter: true_ratio
Faker::Boolean.boolean(true_ratio: 0.2) #=> false