tick_set value (number)
Set the default tick to the specified value. If a key is referenced, set that tick to value instead. Next call to look will return value.
value
key
look
Introduced in v2.6
tick_set 40 puts look
# set default tick to 40 #=> 40
tick_set :foo, 40 puts look(:foo) puts look
# set tick :foo to 40 #=> 40 (tick :foo is now 40) #=> 0 (default tick is unaffected)