![show/hide quicksearch [+]](../../../images/find.png)
 
               # File rbs-1.0.4/lib/rbs/definition_builder/method_builder.rb, line 41
def each
  if block_given?
    Sorter.new(methods).each_strongly_connected_component do |scc|
      if scc.size > 1
        raise RecursiveAliasDefinitionError.new(type: type, defs: scc)
      end
      yield scc[0]
    end
  else
    enum_for :each
  end
end