Re: [Ironruby-core] Enumerate CLR methods

2009-01-08 Thread Tomas Matousek
: Re: [Ironruby-core] Enumerate CLR methods instance.class.to_clr_type.get_methods.collect { |m| m.name.to_s }.uniq.sort.each { |m| p m } or Form.to_clr_type.get_methods.collect { |m| m.name.to_s }.uniq.sort.each { |m| p m } On Thu, Jan 8, 2009 at 1:36 AM, Alex 2k8 li...@ruby-forum.commailto:li

[Ironruby-core] Enumerate CLR methods

2009-01-07 Thread Alex 2k8
Hello, How to enumerate the CLR object methods? I whould like to write some thing like this: - - - require 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' include System::Windows::Forms p Form.new.methods.sort - - - and to see methods like:

Re: [Ironruby-core] Enumerate CLR methods

2009-01-07 Thread Ivan Porto Carrero
instance.class.to_clr_type.get_methods.collect { |m| m.name.to_s }.uniq.sort.each { |m| p m } or Form.to_clr_type.get_methods.collect { |m| m.name.to_s }.uniq.sort.each { |m| p m } On Thu, Jan 8, 2009 at 1:36 AM, Alex 2k8 li...@ruby-forum.com wrote: Hello, How to enumerate the CLR object