Method: Filemaker::Server#initialize
- Defined in:
- lib/filemaker/server.rb
#initialize(options = {}) {|@config| ... } ⇒ Server
Returns a new instance of Server.
20 21 22 23 24 25 26 27 |
# File 'lib/filemaker/server.rb', line 20 def initialize( = {}) @config = Configuration.new yield @config if block_given? raise ArgumentError, 'Missing config block' if @config.not_configurable? @databases = Store::DatabaseStore.new(self) @connection = get_connection() end |