Sha256: bbb51dc80277a9719502a3f7cb9f259dedbeb724dd2bb78801f5e8c7defc2f1c

Contents?: true

Size: 278 Bytes

Versions: 2

Compression:

Stored size: 278 Bytes

Contents

class AbstractSyntaxTreeKit
  class Node
    attr_reader :condition, :body, :els

    class UNLESS < Node
      def initialize(node:, condition:, body:, els:)
        super(node)
        @condition = condition
        @body = body
        @els = els
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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