Method: String#truthy?

Defined in:
lib/rack/param.rb

#truthy?Boolean

Returns:



13
# File 'lib/rack/param.rb', line 13

def truthy?; (/^(true|t|yes|y|1|on)$/ =~ downcase) != nil; end