Class: Tapioca::RBI::Module

Inherits:
Scope show all
Extended by:
T::Sig
Defined in:
lib/tapioca/rbi/model.rb

Instance Attribute Summary collapse

Attributes inherited from Tree

#nodes

Attributes inherited from Node

#parent_tree

Instance Method Summary collapse

Methods inherited from Scope

#accept_printer

Methods inherited from Tree

#<<, #accept_printer, #empty?, #group_nodes!, #nest_non_public_methods!, #nest_singleton_methods!, #oneline?, #sort_nodes!

Methods inherited from Node

#accept_printer, #detach, #group_kind, #oneline?, #print, #string

Constructor Details

#initialize(name) ⇒ Module

Returns a new instance of Module.



68
69
70
71
# File 'lib/tapioca/rbi/model.rb', line 68

def initialize(name)
  super()
  @name = name
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



65
66
67
# File 'lib/tapioca/rbi/model.rb', line 65

def name
  @name
end