module Expire::RefineAllAndNone
Public Instance Methods
all?()
click to toggle source
# File lib/expire/refine_all_and_none.rb, line 7 def all? return true if ['-1', 'all'].include?(strip.downcase) end
none?()
click to toggle source
%w does not work here, I assume there is a problem with “0” rubocop:disable Style/RedundantPercentQ
# File lib/expire/refine_all_and_none.rb, line 13 def none? return true if %q(0 none).include?(strip.downcase) end