module Sequel::AnyNotEmpty
Public Instance Methods
Source
# File lib/sequel/extensions/any_not_empty.rb 35 def any?(*a) 36 if !a.empty? || defined?(yield) 37 super 38 else 39 !empty? 40 end 41 end
If a block is not given, return whether the dataset is not empty.
Calls superclass method