module Neoon

Constants

VERSION

Attributes

db[R]

Public Class Methods

client(url) click to toggle source
# File lib/neoon.rb, line 36
def client(url)
  @db ||= Client::Connection.new url
end
config() click to toggle source
# File lib/neoon.rb, line 40
def config
  @config ||= begin
    config = Neoon::Config.new
    config.preload_models = false
    config
  end
end
configure() { |config| ... } click to toggle source
# File lib/neoon.rb, line 48
def configure
  yield config
end