Categories: None [Edit]

proc_evaluate

https://rubygems.org/gems/proc_evaluate
https://github.com/br3nt/proc_evaluate
Adds an `evaluate` refinement method to Proc and Object instances. The goal of this gem is to allow the evaluation of variables, procs, and lambdas with the same level of flexibility. The `evaluate` method has been added to the Object class to return the evaluated value of the variable. The `evaluate` method is overridden on the Proc class to allow parameters to be passed to lambdas in the same flexible way as procs. This takes into consideration, required/optional/remaining parameters, and required/optional/remaining keyword parameters. For information on Refinements, see: - https://ruby-doc.org/core-2.0.0/doc/syntax/refinements_rdoc.html - https://ruby-doc.org/core-2.1.0/doc/syntax/refinements_rdoc.html - https://ruby-doc.org/core-2.2.0/doc/syntax/refinements_rdoc.html - https://ruby-doc.org/core-2.3.0/doc/syntax/refinements_rdoc.html - https://ruby-doc.org/core-2.4.0/doc/syntax/refinements_rdoc.html - http://yehudakatz.com/2010/11/30/ruby-2-0-refinements-in-practice/

Total

Ranking: 17,938 of 187,571
Downloads: 94,008

Daily

Ranking: 25,672 of 187,548
Downloads: 16

Depended by

RankDownloadsName
48,61422,875omniauth-azure_active_directory_b2c

Depends on

RankDownloadsName
101,165,196,519rake
151,089,266,387minitest

Owners

#GravatarHandle
1iconbr3nt