Migration

Constants

Methods

#default_path

def default_path
  Rails.root if defined? Rails
end

#joined_path

def joined_path(path)
  File.join(path.to_s, 'db', 'neo4j-migrate')
end

#migrate

def migrate
  fail 'not implemented'
end

#output

def output(string = '')
  puts string unless !!ENV['silenced']
end

#print_output

def print_output(string)
  print string unless !!ENV['silenced']
end