Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v2_2_9) is shown here.
cons(head, tail)
public
Cons a new head onto the tail
list.
# File lib/rake/linked_list.rb, line 70
def self.cons(head, tail)
new(head, tail)
end