Module: DeadCodeTerminator::Cond

Defined in:
lib/dead_code_terminator/cond.rb,
lib/dead_code_terminator/cond/base.rb,
lib/dead_code_terminator/cond/literal.rb,
lib/dead_code_terminator/cond/env_fetch.rb,
lib/dead_code_terminator/cond/env_index.rb

Defined Under Namespace

Classes: Base, EnvFetch, EnvIndex, Literal

Class Method Summary collapse

Class Method Details

.nodesObject



11
12
13
# File 'lib/dead_code_terminator/cond.rb', line 11

def self.nodes
  @nodes
end

.register(node) ⇒ Object



7
8
9
# File 'lib/dead_code_terminator/cond.rb', line 7

def self.register(node)
  @nodes << node
end