Use ticks.max, instead of ticks.last to correct error caused when tick class...
Use ticks.max, instead of ticks.last to correct error caused when tick class is converted to an Enumerator, instead of a range. :max method exists in both range and enumerator.
undefined method `last' for #<Enumerator
parent
b555ad1d
Please register or sign in to comment