Remove threequals from ruby files

This commit is contained in:
Thomas Cioppettini
2014-03-26 12:20:41 -07:00
parent 2beaeed36d
commit 38882eb1a7
10 changed files with 25 additions and 26 deletions

View File

@ -191,7 +191,7 @@ module SiteSettingExtension
val = (val == "t" || val == "true") ? 't' : 'f'
end
if type == types[:fixnum] && !(Fixnum === val)
if type == types[:fixnum] && !val.is_a?(Fixnum)
val = val.to_i
end