Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 153 Bytes

ranges.md

File metadata and controls

17 lines (11 loc) · 153 Bytes

Ranges

Item is member of a range

(0..10).member?(3)

(0..10)===3 #Better

Range to array

("a".."z").to_a

[*?a..?z] #Better