update sample.rb
v1.0.0