Method: Rubex::AST::Statement::IfBlock::Elsif#initialize

Defined in:
lib/rubex/ast/statement/if_block/elsif.rb

#initialize(expr, statements, if_tail, location) ⇒ Elsif

Returns a new instance of Elsif.



10
11
12
13
14
15
# File 'lib/rubex/ast/statement/if_block/elsif.rb', line 10

def initialize(expr, statements, if_tail, location)
  super(location)
  @expr = expr
  @statements = statements
  @if_tail = if_tail
end