Sha256: 1074b157ef6db1d171c2c70378be4c592c45ab86b18add2a1bf722c8512300e1

Contents?: true

Size: 312 Bytes

Versions: 2

Compression:

Stored size: 312 Bytes

Contents

class AbstractSyntaxTreeKit
  class Node
    class RESCUE < Node
      attr_reader :body, :rescue_body, :else_body

      def initialize(node:, body:, rescue_body:, else_body:)
        super(node)
        @body = body
        @rescue_body = rescue_body
        @else_body = else_body
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
astkit-0.1.1 lib/astkit/node/rescue.rb
astkit-0.1.0 lib/astkit/node/rescue.rb