Class: RBS::DefinitionBuilder::MethodBuilder::Methods::Sorter
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Instance Chain:
self,
TSort
|
|
Inherits: | Object |
Defined in: | lib/rbs/definition_builder/method_builder.rb |
Class Method Summary
- .new(methods) ⇒ Sorter constructor
Instance Attribute Summary
- #methods readonly
Instance Method Summary
Constructor Details
.new(methods) ⇒ Sorter
Instance Attribute Details
#methods (readonly)
[ GitHub ]# File 'lib/rbs/definition_builder/method_builder.rb', line 66
attr_reader :methods
Instance Method Details
#tsort_each_child(defn)
[ GitHub ]#tsort_each_node(&block)
[ GitHub ]# File 'lib/rbs/definition_builder/method_builder.rb', line 72
def tsort_each_node(&block) methods.each_value(&block) end