Skip to content

SYNG Ruby Reference

selectorrolematching syntax
(arg) argument positions in method calls -
(call) method calls
  • foo()
  • obj.foo()
  • foo x
(id) identifier references -
(num) numeric literals -
(proc) blocks and lambda expressions
  • { |x| x }
  • do |x| x end
  • ->(x) { x }
(str) string literals -

Copyright © 2022-present Semantic Works, Inc.