Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Patrick
- def self.should_i_deploy?(*args)
- true
- end
- end
- puts Patrick.should_i_deploy?({ :visitors => 1000, :on_signup_page => 500 })
- puts Patrick.should_i_deploy?({ :failed_tests => 30, :total_tests => 35 })
- puts Patrick.should_i_deploy?({ :requires_large_alter_table_migration => true })
- puts Patrick.should_i_deploy?({ :down_time_required => 24.hours, :available_servers => 1 })
Add Comment
Please, Sign In to add comment