Refactor pattern_executor.
Refactor pattern_executor.

cloudconductor-patterns/rails_pattern,cloudconductor-patterns/rails_pattern,cloudconductor-patterns/rails_pattern,cloudconductor-patterns/rails_pattern