Sha256: 3361e18fc76cb180ba22255629a5a6b0c3d1caca684e81f3efdf1868992bd155

Contents?: true

Size: 285 Bytes

Versions: 3

Compression:

Stored size: 285 Bytes

Contents

class Employee < DeadSimpleDb::Base

  domain 'test_domain'

  attr_sdb :name, 'String'
  attr_sdb :surname, 'String'
  attr_sdb :number, 'Integer', :digits => 10
  attr_sdb :rating, 'Float', :digits => 10, :decimals => 4
  attr_sdb :joined, 'Date'
  attr_sdb :last_login, 'Time'

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hungryblank-dead_simple_db-0.0.1 test/dummies/employee.rb
hungryblank-dead_simple_db-0.0.2 test/dummies/employee.rb
hungryblank-dead_simple_db-0.0.3 test/dummies/employee.rb