lib/axiom/optimizer.rb in axiom-optimizer-0.1.0 vs lib/axiom/optimizer.rb in axiom-optimizer-0.1.1
- old
+ new
@@ -7,10 +7,10 @@
# A optimization for an operation
class Optimizer
include AbstractType, Adamantium
# An optimizer that returns the operation
- Identity = lambda { |operation| operation }.freeze
+ Identity = ->(operation) { operation }.freeze
# The operation to optimize
#
# @return [Optimizable]
#