Class: Rubex::AST::Statement::BeginBlock::Base

Inherits:
Rubex::AST::Statement::Base show all
Defined in:
lib/rubex/ast/statement/begin_block.rb

Direct Known Subclasses

Begin, Else, Ensure, Rescue

Instance Attribute Summary

Attributes inherited from Rubex::AST::Statement::Base

#location

Instance Method Summary collapse

Methods inherited from Rubex::AST::Statement::Base

#==, #generate_code, #statement?

Constructor Details

#initialize(statements, location) ⇒ Base

Returns a new instance of Base.



6
7
8
9
# File 'lib/rubex/ast/statement/begin_block.rb', line 6

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