Represents a delayed evaluation, encapsulating a callable object which returns the value to use when called.
Call the underlying callable and return the result. If the underlying callable only accepts a single argument, call it with the given dataset.
# File lib/sequel/sql.rb, line 1226 def call(ds) if @callable.respond_to?(:arity) && @callable.arity == 1 @callable.call(ds) else @callable.call end end
Generated with the Darkfish Rdoc Generator 2.