Skip to content

hitode909/then

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

then

then is fork for method chain.

require 'then'

[1,2,3,3].then{|list|
  p list
  p list.reverse
}.uniq.then{ |list|
  p list
  p list.reverse
}

# [1, 2, 3, 3]
# [3, 3, 2, 1]
# [1, 2, 3]
# [3, 2, 1]

Copyright © 2011 hitode909. See LICENSE.txt for further details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages