Class: Doing::Change
Overview
A single version's entries
Instance Attribute Summary collapse
- 
  
    
      #change_date  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute change_date. 
- 
  
    
      #content  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute content. 
- 
  
    
      #entries  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute entries. 
- 
  
    
      #prefix  ⇒ Object 
    
    
  
  
  
  
    
    
      writeonly
    
  
  
  
  
  
  
    Sets the attribute prefix. 
- 
  
    
      #version  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute version. 
Instance Method Summary collapse
- #changes_only ⇒ Object
- 
  
    
      #initialize(version, content, prefix: false, only: %i[changed new improved fixed]))  ⇒ Change 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Change. 
- #parse_entries ⇒ Object
- #search_entries(search_string) ⇒ Object
- #split_items ⇒ Object
- #to_h ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(version, content, prefix: false, only: %i[changed new improved fixed])) ⇒ Change
Returns a new instance of Change.
Instance Attribute Details
#change_date ⇒ Object
Returns the value of attribute change_date.
#content ⇒ Object (readonly)
Returns the value of attribute content.
#entries ⇒ Object
Returns the value of attribute entries.
#prefix=(value) ⇒ Object (writeonly)
Sets the attribute prefix
#version ⇒ Object (readonly)
Returns the value of attribute version.