method

new

ruby latest stable - Class: Gem::Source::Lock
new(source)
public

Creates a new Lock source that wraps source and moves it earlier in the sort list.