Class: GitMiner::MiningResult
- Inherits:
 - 
      Object
      
        
- Object
 - GitMiner::MiningResult
 
 
- Defined in:
 - lib/git_miner/mining_result.rb
 
Instance Attribute Summary collapse
- 
  
    
      #author_offset  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute author_offset.
 - 
  
    
      #committer_offset  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute committer_offset.
 - 
  
    
      #sha  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute sha.
 
Instance Method Summary collapse
- 
  
    
      #initialize(sha:, author_offset:, committer_offset:)  ⇒ MiningResult 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of MiningResult.
 
Constructor Details
#initialize(sha:, author_offset:, committer_offset:) ⇒ MiningResult
Returns a new instance of MiningResult.
      5 6 7 8 9  | 
    
      # File 'lib/git_miner/mining_result.rb', line 5 def initialize(sha:, author_offset:, committer_offset:) @sha = sha @author_offset = @committer_offset = committer_offset end  | 
  
Instance Attribute Details
#author_offset ⇒ Object (readonly)
Returns the value of attribute author_offset.
      3 4 5  | 
    
      # File 'lib/git_miner/mining_result.rb', line 3 def @author_offset end  | 
  
#committer_offset ⇒ Object (readonly)
Returns the value of attribute committer_offset.
      3 4 5  | 
    
      # File 'lib/git_miner/mining_result.rb', line 3 def committer_offset @committer_offset end  | 
  
#sha ⇒ Object (readonly)
Returns the value of attribute sha.
      3 4 5  | 
    
      # File 'lib/git_miner/mining_result.rb', line 3 def sha @sha end  |