Sha256: 4d7bc8a9139b51e1c7f2df167b6d95211e4660441d9d74cc9f75fe09c9ed1fea

Contents?: true

Size: 851 Bytes

Versions: 6

Compression:

Stored size: 851 Bytes

Contents

route_sets.each do |routes|

end

route_sets.each do |routes|
  routes.finalize!
end

route_sets.each do |route|
  route.finalize!
  puts route.name
end

route_sets.each do |routes|
  [].finalize!
end

route_sets.each(&:finalize!)

route_sets.each(:oppa) do |route|
  route.finalize!
end

route_sets.each do |routes|
  routes.finalize!(1)
end

route_sets.each do |routes|
  routes.finalize do
    puts 'opp'
  end
end

route_sets.each { |routes| routes.finalize! }

numbers = [1, 2, 3, 4, 5]
numbers.each { |number| number.to_s }
numbers.map { |number| number.to_s }
numbers.any? { |number| number.even? }
numbers.find { |number| number.even? }

instance_eval { |_| method_call_without_receiver }
instance_eval { |object| object.to_s }

proc { |rule| rule.should_use_symbol }
lambda { |rule| rule.should_use_symbol }
->(obj) { obj.cannot_use_symbol }

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fasterer-0.11.0 spec/support/analyzer/18_block_vs_symbol_to_proc.rb
fasterer-0.10.1 spec/support/analyzer/18_block_vs_symbol_to_proc.rb
fasterer-0.10.0 spec/support/analyzer/18_block_vs_symbol_to_proc.rb
fasterer-0.9.0 spec/support/analyzer/18_block_vs_symbol_to_proc.rb
fasterer-0.8.3 spec/support/analyzer/18_block_vs_symbol_to_proc.rb
fasterer-0.8.2 spec/support/analyzer/18_block_vs_symbol_to_proc.rb