Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 170 Bytes

boolean.md

File metadata and controls

10 lines (7 loc) · 170 Bytes

Faker::Boolean

Available since version 1.6.2.

# Optional parameter: true_ratio=0.5
Faker::Boolean.boolean #=> true

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