Class: RBS::Inline::AST::Members::RubyPublic

Inherits:
RubyBase
  • Object
show all
Defined in:
lib/rbs/inline/ast/members.rb

Overview

public call without arguments

Instance Attribute Summary collapse

Attributes inherited from Base

#location

Instance Method Summary collapse

Methods inherited from Base

#start_line

Constructor Details

#initialize(node) ⇒ RubyPublic

Returns a new instance of RubyPublic.



499
500
501
502
# File 'lib/rbs/inline/ast/members.rb', line 499

def initialize(node) #: void
  super(node.location)
  @node = node
end

Instance Attribute Details

#nodeObject (readonly)

: Prism::CallNode



496
497
498
# File 'lib/rbs/inline/ast/members.rb', line 496

def node
  @node
end