module Cequel::Record::Properties::ConstructorMethods
@private
Public Instance Methods
new(*args) { |record| ... }
click to toggle source
# File lib/cequel/record/properties.rb, line 52 def new(*args, &block) new_empty.tap do |record| record.__send__(:initialize_new_record, *args) yield record if block_given? end end