Method: RBS::Types::Union#each_type

Defined in:
lib/rbs/types.rb

#each_type(&block) ⇒ Object



786
787
788
789
790
791
792
# File 'lib/rbs/types.rb', line 786

def each_type(&block)
  if block
    types.each(&block)
  else
    enum_for :each_type
  end
end