class Yard2steep::AST::PTypeNode
Constants
- KIND
Attributes
Public Class Methods
new(p_type:, p_name:, kind:)
click to toggle source
@param [String] p_type
@param [String] p_name
@param [String] kind
# File lib/yard2steep/ast/p_type_node.rb, line 16 def initialize(p_type:, p_name:, kind:) Util.assert! { p_type.is_a?(String) } Util.assert! { p_name.is_a?(String) } Util.assert! { KIND.values.include?(kind) } @p_type = p_type @p_name = p_name @kind = kind end