class Object
Public Instance Methods
booleanize(str)
click to toggle source
# File lib/thymeleaf/utils/booleanize.rb, line 2 def booleanize(str) !(str.strip =~ /^(false|f|no|n|0|-0|nil)$/i) end
# File lib/thymeleaf/utils/booleanize.rb, line 2 def booleanize(str) !(str.strip =~ /^(false|f|no|n|0|-0|nil)$/i) end