Class: Environment

Inherits:
Object
  • Object
show all
Defined in:
lib/rad/rad_processor.rb

Overview

HACK until ruby_parser is re-released

Instance Method Summary collapse

Instance Method Details

#allObject



9
10
11
12
# File 'lib/rad/rad_processor.rb', line 9

def all
  idx = @dyn.index(false) || 0
  @env[0..idx].reverse.inject { |env, scope| env.merge scope }
end

#old_allObject



8
# File 'lib/rad/rad_processor.rb', line 8

alias :old_all :all