# File lib/simp/cli/config/items/yes_no_item.rb, line 28 def highline_question_type lambda do |str| return true if ( str =~ /^(y(es)?|true)$/i ? true : false || str.class == TrueClass ) return false if ( str =~ /^(n(o)?|false)$/i ? true : false || str.class == FalseClass ) nil end end