Hi,

I am not sure if this has been discussed before or not,
or if it is resolvable or not.

I found that the methods in the outline become nested
in a number of situations and have verified that it is happening
on the Mac and Windows versions of Eclipse.

Using the below example you should see all the methods
nested within method s2.

On a related topic, is it possible to get the BEGIN and END
blocks listed in the Outline?

Thanks,

Rob

a = "blah"
@l = []
def s1 (fld)
  puts "hi"
end

def s2
  if true
    if @l3 = @l2.rassoc("a")
      puts "hi"
    end
  end
end

def s2p5
  @x3 = " ["
end

def s3
  @l.each {|i|
    if "hi".grep(/#{a}/).size > 0
      puts "hi" if true
    else
      s3
      @x4 = " ["
      if ( "hi" =~ /<x>(.*?)<\/x>/im )
        puts "hi"
      end
      @l.each {|i|
        puts "hi"
      }
    end
  }
end

def s41
  @x2 = <<_x_
  x
_x_
end
def s42
  @x2 = <<-_x_
  x
_x_
end
def s43
  @x2 = <<-'_x_'
  x
_x_
end

def s5
  puts "hi"
end

BEGIN {
  puts "beginning begin"
  puts "ending begin"
}

s5

END {
  puts "beginning end"
  puts "ending end"
}

exit


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Rubyeclipse-development mailing list
Rubyeclipse-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rubyeclipse-development

Reply via email to