Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 303 Bytes

conver_a_boolean_to_a_string.md

File metadata and controls

13 lines (10 loc) · 303 Bytes

Description

Implement a function which convert the given boolean value into its string representation.

Note: Only valid inputs will be given.

My Solution

def boolean_to_string(b)
  b.to_s
end