Class: CloudRailSi::ServiceCode::Return

Inherits:
Object
  • Object
show all
Defined in:
lib/cloudrail_si/servicecode/commands/Return.rb

Instance Method Summary collapse

Instance Method Details

#execute(environment, parameters) ⇒ Object



10
11
12
13
# File 'lib/cloudrail_si/servicecode/commands/Return.rb', line 10

def execute(environment, parameters)
    Helper.assert(parameters.length == 0)
    environment.code_line_stack[environment.code_line_stack.length - 1] = 9007199254740991
end

#get_identifierObject



6
7
8
# File 'lib/cloudrail_si/servicecode/commands/Return.rb', line 6

def get_identifier
    'return'
end