class AbstractSyntaxTreeKit::Node::DEFN

Attributes

method_definition[R]
method_id[R]

Public Class Methods

new(node:, method_id:, method_definition:) click to toggle source
Calls superclass method AbstractSyntaxTreeKit::Node::new
# File lib/astkit/node/defn.rb, line 6
def initialize(node:, method_id:, method_definition:)
  super(node)
  @method_id = method_id
  @method_definition = method_definition
end