drop three elements in a range : drop « Range « Ruby






drop three elements in a range


p (1..5).drop(3)       # => [4,5]

 

Related examples in the same category