Class: NetSystem::PgsqlDb

Inherits:
Database show all
Defined in:
lib/net_system/sub/database/databases/pgsql_db.rb

Instance Attribute Summary

Attributes inherited from Database

#client

Instance Method Summary collapse

Methods inherited from Database

#call, call, current, inherited, #initialize, set_client

Methods inherited from Liza::Controller

color, inherited, on_connected

Methods inherited from Liza::Unit

const_missing, division, part, system, #system, test_class

Constructor Details

This class inherits a constructor from NetSystem::Database

Instance Method Details

#nowObject



4
5
6
# File 'lib/net_system/sub/database/databases/pgsql_db.rb', line 4

def now
  Time.parse client.now[0]["now"]
end