Sha256: feb100ffe6aef684046259ff09c643c21f5d93bb1962df4a2ba2f47f95ed8d51
Contents?: true
Size: 672 Bytes
Versions: 3
Compression:
Stored size: 672 Bytes
Contents
#!/usr/bin/env ruby # State::Companies::Company -- oddb -- 27.05.2003 -- mhuggler@ywesee.com require 'state/doctors/global' require 'view/doctors/doctor' module ODDB module State module Doctors class Doctor < State::Doctors::Global VIEW = View::Doctors::Doctor LIMITED = false end class RootDoctor < Doctor VIEW = View::Doctors::RootDoctor def update mandatory = [:title, :name_first, :name] keys = mandatory + [:specialities, :capabilities, :correspondence, :exam, :ean13, :email] input = user_input(keys, mandatory) unless(error?) @model = @session.app.update(@model.pointer, input) end self end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
oddb.org-1.0.2 | src/state/doctors/doctor.rb |
oddb.org-1.0.1 | src/state/doctors/doctor.rb |
oddb.org-1.0.0 | src/state/doctors/doctor.rb |