class Filemaker::Database
Attributes
lay[R]
@return [Filemaker::Store::LayoutStore] the layout store
layout[R]
@return [Filemaker::Store::LayoutStore] the layout store
layouts[R]
@return [Filemaker::Store::LayoutStore] the layout store
name[R]
@return [String] database name
scripts[R]
@return [Filemaker::Store::ScriptStore] the script store
server[R]
@return [Filemaker::Server] the server
Public Class Methods
new(name, server)
click to toggle source
# File lib/filemaker/database.rb, line 17 def initialize(name, server) @name = name @server = server @layouts = Store::LayoutStore.new(server, self) @scripts = Store::ScriptStore.new(server, self) end
Public Instance Methods
[](layout_name)
click to toggle source
A very convenient way to access some layout from this database
# File lib/filemaker/database.rb, line 25 def [](layout_name) layouts[layout_name] end