aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/test_case.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2016-12-31 19:22:49 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-01-01 04:01:17 +0900
commitd8e5751a1d7ad027519463134fe1a861d02494fc (patch)
treecaf33980d24cbfddb3aeba787420d0f156d6219e /activemodel/lib/active_model/test_case.rb
parentac0b28883b78999c5605d032eb42fcd842841e6b (diff)
downloadrails-d8e5751a1d7ad027519463134fe1a861d02494fc.tar.gz
rails-d8e5751a1d7ad027519463134fe1a861d02494fc.tar.bz2
rails-d8e5751a1d7ad027519463134fe1a861d02494fc.zip
Extract `casted_true`/`casted_false` for `Type::ImmutableString`
The only difference between `Type::ImmutableString` and its subclasses is the representation of the casted booleans. Prefer extracting `casted_true`/`casted_false` and override these by subclasses.
Diffstat (limited to 'activemodel/lib/active_model/test_case.rb')
0 files changed, 0 insertions, 0 deletions