Class: Tapioca::RBI::Module
- Extended by:
- T::Sig
- Defined in:
- lib/tapioca/rbi/model.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Attributes inherited from Tree
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(name) ⇒ Module
constructor
A new instance of Module.
Methods inherited from Scope
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
#name ⇒ Object
Returns the value of attribute name.
65 66 67 |
# File 'lib/tapioca/rbi/model.rb', line 65 def name @name end |