Sha256: 7ceda629a71e54836740ace5e4690ddba697903e3c94f21202627dbbf2f30b2f
Contents?: true
Size: 406 Bytes
Versions: 1
Compression:
Stored size: 406 Bytes
Contents
require "mongo_browser/version" require "mongo" require "json" require "ap" module MongoBrowser DEFAULT_HOST = "127.0.0.1" DEFAULT_PORT = 27017 class << self attr_writer :mongodb_host attr_writer :mongodb_port def mongodb_host @mongodb_host || DEFAULT_HOST end def mongodb_port @mongodb_port || DEFAULT_PORT end end end require "mongo_browser/application"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mongo_browser-0.1.3 | lib/mongo_browser.rb |