Class: DeadCodeTerminator::PlainIf

Inherits:
Node
  • Object
show all
Defined in:
lib/dead_code_terminator/plain_if.rb

Direct Known Subclasses

IfEnv

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.match?(ast) ⇒ Boolean

Returns:

  • (Boolean)


5
# File 'lib/dead_code_terminator/plain_if.rb', line 5

def self.match?(ast); end

Instance Method Details

#else_branchObject



9
# File 'lib/dead_code_terminator/plain_if.rb', line 9

def else_branch; end

#then_branchObject



7
# File 'lib/dead_code_terminator/plain_if.rb', line 7

def then_branch; end