Update executor.rb

ruby like