Top Level Namespace
Defined Under Namespace
Modules: Teapot
Instance Method Summary collapse
- #get_empty_filter ⇒ Hash
- #get_tempest_client(server = 'localhost', port = 10001) ⇒ Teapot::TempestDB::TempestClient
- #make_node(type, id) ⇒ Teapot::TempestDB::Node
- #node_to_pair(node) ⇒ Array
Instance Method Details
#get_empty_filter ⇒ Hash
266 267 268 |
# File 'lib/tempest_db.rb', line 266 def get_empty_filter() Hash.new end |
#get_tempest_client(server = 'localhost', port = 10001) ⇒ Teapot::TempestDB::TempestClient
261 262 263 |
# File 'lib/tempest_db.rb', line 261 def get_tempest_client(server = 'localhost', port = 10001) Teapot::TempestDB::TempestClient.new(server, port) end |
#make_node(type, id) ⇒ Teapot::TempestDB::Node
279 280 281 |
# File 'lib/tempest_db.rb', line 279 def make_node(type, id) Teapot::TempestDB::Node.new({'type' => type, 'id' => id}) end |
#node_to_pair(node) ⇒ Array
272 273 274 |
# File 'lib/tempest_db.rb', line 272 def node_to_pair(node) [node.type, node.id] end |