Update workflows.rb

fix method signature doc