Module: Steep::AST::Types::Helper::NoChild

Included in:
Any, Boolean, Bot, Class, Instance, Literal, Logic::Base, Name::Singleton, Nil, Self, Top, Var, Void
Defined in:
lib/steep/ast/types/helper.rb

Instance Method Summary collapse

Instance Method Details

#each_child(&block) ⇒ Object



26
27
28
29
30
# File 'lib/steep/ast/types/helper.rb', line 26

def each_child(&block)
  unless block
    enum_for :each_child
  end
end

#map_typeObject



32
33
34
# File 'lib/steep/ast/types/helper.rb', line 32

def map_type
  self
end