Sha256: 21a725f5521bc304161626ef6962439e7ca44da7f6fcb1f8d23957ad199e3d18

Contents?: true

Size: 215 Bytes

Versions: 4

Compression:

Stored size: 215 Bytes

Contents

module Yoda
  module AST
    class EnsureNode < Node
      # @return [Node]
      def body
        children[0]
      end

      # @return [Node]
      def ensure_body
        children[1]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
yoda-language-server-0.10.1 lib/yoda/ast/ensure_node.rb
yoda-language-server-0.10.0 lib/yoda/ast/ensure_node.rb
yoda-language-server-0.9.0 lib/yoda/ast/ensure_node.rb
yoda-language-server-0.8.0 lib/yoda/ast/ensure_node.rb