Class: System
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- System
- Defined in:
- app/models/system.rb
Instance Method Summary collapse
Instance Method Details
#get_system_id ⇒ Object
3 4 5 6 7 8 9 |
# File 'app/models/system.rb', line 3 def get_system_id if self.respond_to?(:system_id) (self.system_id==nil || self.system_id == 0) ? self.id : self.system_id else self.id end end |