File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -347,16 +347,6 @@ def Else(keyword, statements)
347
347
)
348
348
end
349
349
350
- # Create a new Elsif node.
351
- def Elsif ( predicate , statements , consequent )
352
- Elsif . new (
353
- predicate : predicate ,
354
- statements : statements ,
355
- consequent : consequent ,
356
- location : Location . default
357
- )
358
- end
359
-
360
350
# Create a new EmbDoc node.
361
351
def EmbDoc ( value )
362
352
EmbDoc . new ( value : value , location : Location . default )
@@ -478,8 +468,9 @@ def Ident(value)
478
468
end
479
469
480
470
# Create a new IfNode node.
481
- def IfNode ( predicate , statements , consequent )
471
+ def IfNode ( keyword , predicate , statements , consequent )
482
472
IfNode . new (
473
+ keyword : keyword ,
483
474
predicate : predicate ,
484
475
statements : statements ,
485
476
consequent : consequent ,
You can’t perform that action at this time.
0 commit comments