Re: [Ironruby-core] silverlight.rb

2010-02-10 Thread Randall Sutton
I ended up just taking the idea and making my own version. class Wpf def self.create(t,args={},&b) # create an instance of the class obj = t.new # assign all the args args.each_pair do |k,v| obj.send("#{k.to_s}=",v) end

Re: [Ironruby-core] silverlight.rb

2010-01-20 Thread Jimmy Schementi
Silverlight.rb has actually been embedded in the Microsoft.Scripting.Silverlight.dll (as init.rb) and is loaded automatically, but I didn't include Wpf.build, so the version you have in the photoviewer app is the latest, so use at your own risk. It could possibly be added for the final release,