Class: Code::Parser::Rescue

Inherits:
RightOperation show all
Defined in:
lib/code/parser/rescue.rb

Instance Method Summary collapse

Methods inherited from RightOperation

#root, #whitespace, #whitespace?

Instance Method Details

#operatorObject



14
15
16
# File 'lib/code/parser/rescue.rb', line 14

def operator
  rescue_keyword
end

#rescue_keywordObject



10
11
12
# File 'lib/code/parser/rescue.rb', line 10

def rescue_keyword
  str("rescue")
end

#statementObject



6
7
8
# File 'lib/code/parser/rescue.rb', line 6

def statement
  Ternary
end