diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-07 13:35:31 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-07 15:37:31 -0700 |
commit | 435b224e7ec42194d974a90b89a4562ee876aafc (patch) | |
tree | 7385e6ebb7fb61813d719d7cae8cf770b634a3f6 /actionpack/test/dispatch/middleware_stack_test.rb | |
parent | 27eddbb332c4adb533e0699e4b1532c3bd4de222 (diff) | |
download | rails-435b224e7ec42194d974a90b89a4562ee876aafc.tar.gz rails-435b224e7ec42194d974a90b89a4562ee876aafc.tar.bz2 rails-435b224e7ec42194d974a90b89a4562ee876aafc.zip |
move `valid?` conditional to the constructor
use a strategy pattern to calculate the conditional in `valid?` in
advance.
Diffstat (limited to 'actionpack/test/dispatch/middleware_stack_test.rb')
0 files changed, 0 insertions, 0 deletions