Method: DBGeni::Base#method_missing

Defined in:
lib/dbgeni/base.rb

#method_missing(meth, *args, &blk) ⇒ Object (private)


135
136
137
138
139
140
141
142
143
# File 'lib/dbgeni/base.rb', line 135

def method_missing(meth, *args, &blk)
  if meth =~ /migration/
    delegate_to_migration_cli(meth.intern, *args)
  elsif meth =~ /dml/
    delegate_to_dml_cli(meth.to_s.gsub(/dml/,'migration').intern, *args)
  else
    super
  end
end