--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: self if block_given?
comment: 
- !ruby/struct:SM::Flow::P 
  body: Creates new instance and passes the given values to set. If a block is given, yield the instance to the block unless from_db is true. This method runs the after_initialize hook after it has optionally yielded itself to the block.
- !ruby/struct:SM::Flow::P 
  body: "Arguments:"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: values - should be a hash to pass to set.
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: from_db - should only be set by Model.load, forget it exists.
  type: :BULLET
full_name: Sequel::Model::InstanceMethods::new
is_singleton: true
name: new
params: (values = {}, from_db = false) {|self if block_given?| ...}
visibility: public
