Class: Range

Inherits:
Object
  • Object
show all
Defined in:
lib/cubicle/support.rb

Instance Method Summary collapse

Instance Method Details

#by!(step_by) ⇒ Object



52
53
54
55
# File 'lib/cubicle/support.rb', line 52

def by!(step_by)
  first.step_by = step_by if first.respond_to?(:step_by=)
  self
end