I really hate this here, but I hate subdirs in my lib dir more... I guess it is kinda like shaving... I'll split this out when it itches too much...
TODO: depth_of
# File lib/ruby_parser/bm_sexp_processor.rb, line 170 def [] name hash = @env.find { |closure| closure.has_key? name } hash[name] if hash end
# File lib/ruby_parser/bm_sexp_processor.rb, line 175 def []= name, val hash = @env.find { |closure| closure.has_key? name } || @env.first hash[name] = val end
# File lib/ruby_parser/bm_sexp_processor.rb, line 160 def all @env.reverse.inject { |env, scope| env.merge scope } end
Generated with the Darkfish Rdoc Generator 2.