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

block_params: self if block_given?
comment: 
- !ruby/struct:SM::Flow::P 
  body: Creates new instance with values set to passed-in Hash. 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 with symbol keys, though string keys will work if from_db is false.
  - !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::new
is_singleton: true
name: new
params: (values = {}, from_db = false) {|self if block_given?| ...}
visibility: public
