Method: Sequel::ReadyMaker#get_source

Defined in:
lib/sequel/extensions/make_readyable.rb

#get_source(db, schema) ⇒ Object



74
75
76
77
78
79
80
# File 'lib/sequel/extensions/make_readyable.rb', line 74

def get_source(db, schema)
  if schema.to_s =~ %r{/}
    FileSourcerer.new(db, Pathname.new(schema))
  else
    db
  end
end