[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.dltk] Re: Ruby module in DLTK

Hi Felix,

You can distinguish them by class:
org.eclipse.dltk.ruby.ast.RubyModuleDeclaration
org.eclipse.dltk.ruby.ast.RubyClassDeclaration

Regards,
Alex


Felix L J Mayer wrote:
I am writing some code that looks at the Ruby ITypes within an ISourceModule. I guess it makes makes (but is a little confusing) that a Ruby module becomes an IType, but is there any way to easily distinguish Ruby modules from Ruby classes?