Author: kkaempf Date: Tue Feb 19 13:23:36 2008 New Revision: 8804 URL: http://svn.opensuse.org/viewcvs/zypp?rev=8804&view=rev Log: method_missing: default to attribute name for unknown Solvable properties Modified: trunk/sat-solver/bindings/ruby/satsolver.rb Modified: trunk/sat-solver/bindings/ruby/satsolver.rb URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/ruby/satsolver.rb?rev=8804&r1=8803&r2=8804&view=diff ============================================================================== --- trunk/sat-solver/bindings/ruby/satsolver.rb (original) +++ trunk/sat-solver/bindings/ruby/satsolver.rb Tue Feb 19 13:23:36 2008 @@ -7,9 +7,10 @@ # end # end class Solvable - def Solvable.method_missing(meth, *args) - puts "Method missing" - puts "Solvable #{meth.id2name}" + def method_missing(meth, *args) + attr meth.id2name +# puts "Method missing" +# puts "Solvable #{meth.id2name}" end end end -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org