module Sequel::AnyNotEmpty
Public Instance Methods
any?(*a) { || ... }
click to toggle source
If a block is not given, return whether the dataset is not empty.
Calls superclass method
# File lib/sequel/extensions/any_not_empty.rb, line 34 def any?(*a) if !a.empty? || defined?(yield) super else !empty? end end