lib/pg_trunk/core/operation/ruby_helpers.rb
# Build the operation from arguments sent to Ruby method
Build the operation from arguments sent to Ruby method
Build the operation from arguments sent to Ruby method
def from_ruby(*args, &block)
        options = args.last.is_a?(Hash) ? args.pop.symbolize_keys : {}
        params = ruby_params.zip(args).to_h
        new(**params, **options, &block)
      end
def from_ruby ( * args , & block ) options = args . last . is_a? ( Hash ) ? args . pop . symbolize_keys : { } params = ruby_params . zip ( args ) . to_h new ( ** params , ** options , & block ) end
Build the operation from arguments sent to Ruby method
Build the operation from arguments sent to Ruby method
args
<not_specific>
block
<not_specific>