Fix for JRUBY-2882. Handle error messages related to constructors better
[jruby.git] / samples / duby / statics.rb
blobe6cc1b87b79c17d4705b7a95ecd76bef7180b751
1 class Statics
2   def self.foo(str)
3     {str => :string}
4     
5     puts str
6   end
7 end