Ignore:
Timestamp:
Apr 27, 2009, 12:20:27 PM (15 years ago)
Author:
KOBAYASHI, Shinji
Message:

devide test_reference_model.rb

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ruby/trunk/lib/models/rm/common/change_control.rb

    r117 r119  
    3838          end
    3939        end
     40
    4041        class Versioned_Object
    4142        end
     
    4950            self.commit_audit = commit_audit
    5051          end
     52          def canonical_form
     53            raise NotImplementedError, 'canonical form not implemented'
     54          end
     55
    5156          def uid=(uid)
    5257            raise ArgumentError, "uid should not be nil" if uid.nil?
    5358          end
     59
    5460          def contribution=(contribution)
    5561            raise ArgumentError, "contribution should not be nil" if contribution.nil? or contribution.type == ''
    5662            @contribution = contribution
    5763          end
     64
    5865          def commit_audit=(commit_audit)
    5966            raise ArgumentError, "commit_audit should not be nil" if commit_audit.nil?
    6067            @commit_audit = commit_audit
     68          end
     69
     70          def is_branch?
     71            raise NotImplementedError, 'is_branch not implemented'
    6172          end
    6273        end
     
    6778        class Original_Version < Version
    6879        end
     80
    6981      end # of Change_Control
    7082    end # of Common
Note: See TracChangeset for help on using the changeset viewer.