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



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

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

#map_typeObject



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

def map_type
  self
end