Module: RBS::AST::Declarations::NestedDeclarationHelper
Instance Method Summary collapse
Instance Method Details
#each_decl ⇒ Object
96 97 98 99 100 101 102 103 104 105 106 |
# File 'lib/rbs/ast/declarations.rb', line 96 def each_decl if block_given? members.each do |member| if member.is_a?(Declarations::Base) yield member end end else enum_for :each_decl end end |