Class: Doing::Version
Overview
Semantic versioning
Instance Attribute Summary collapse
- 
  
    
      #maj  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute maj. 
- 
  
    
      #min  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute min. 
- 
  
    
      #patch  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute patch. 
Instance Method Summary collapse
- #compare(other, comp, inclusive: false) ⇒ Object
- 
  
    
      #initialize(string)  ⇒ Version 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Version. 
- #to_s ⇒ Object
- #version_to_a(string) ⇒ Object
- #wild?(val) ⇒ Boolean
Constructor Details
#initialize(string) ⇒ Version
Returns a new instance of Version.