Class: NetSystem::SqliteDb

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

Direct Known Subclasses

SqliteDb

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
7
# File 'lib/net_system/sub/database/databases/sqlite_db.rb', line 4

def now
  array = client.now
  Time.parse array[1][0]
end