class DeadCodeTerminator::Cond::Literal

Public Instance Methods

value() click to toggle source
# File lib/dead_code_terminator/cond/literal.rb, line 6
def value
  return THEN if ast.type == :true
  return ELSE if ast.type == :false
end