Update property.rb

Removing warnings for Ruby 1.9