Changeset 119 for ruby/trunk/lib/models/rm/common/change_control.rb
- Timestamp:
- Apr 27, 2009, 12:20:27 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ruby/trunk/lib/models/rm/common/change_control.rb
r117 r119 38 38 end 39 39 end 40 40 41 class Versioned_Object 41 42 end … … 49 50 self.commit_audit = commit_audit 50 51 end 52 def canonical_form 53 raise NotImplementedError, 'canonical form not implemented' 54 end 55 51 56 def uid=(uid) 52 57 raise ArgumentError, "uid should not be nil" if uid.nil? 53 58 end 59 54 60 def contribution=(contribution) 55 61 raise ArgumentError, "contribution should not be nil" if contribution.nil? or contribution.type == '' 56 62 @contribution = contribution 57 63 end 64 58 65 def commit_audit=(commit_audit) 59 66 raise ArgumentError, "commit_audit should not be nil" if commit_audit.nil? 60 67 @commit_audit = commit_audit 68 end 69 70 def is_branch? 71 raise NotImplementedError, 'is_branch not implemented' 61 72 end 62 73 end … … 67 78 class Original_Version < Version 68 79 end 80 69 81 end # of Change_Control 70 82 end # of Common
Note:
See TracChangeset
for help on using the changeset viewer.