update docs/template-pattern.rb
add docs/strategy-pattern.rb