4 5 6 7 8 9 10
# File 'lib/sql_tools/constraint.rb', line 4 def from(node) if node.children.any? { |child| child.type == :keyword_key } Index.new(node) else binding.b end end