Class: Bolt::ModuleInstaller::Puppetfile::Module
- Inherits:
- 
      Object
      
        - Object
- Bolt::ModuleInstaller::Puppetfile::Module
 
- Defined in:
- lib/bolt/module_installer/puppetfile/module.rb
Direct Known Subclasses
Instance Attribute Summary collapse
- 
  
    
      #full_name  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute full_name. 
- 
  
    
      #name  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute name. 
- 
  
    
      #type  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute type. 
Instance Method Summary collapse
- 
  
    
      #initialize(name)  ⇒ Module 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Module. 
Constructor Details
#initialize(name) ⇒ Module
Returns a new instance of Module.
| 11 12 13 | # File 'lib/bolt/module_installer/puppetfile/module.rb', line 11 def initialize(name) @full_name, @name = parse_name(name) end | 
Instance Attribute Details
#full_name ⇒ Object (readonly)
Returns the value of attribute full_name.
| 9 10 11 | # File 'lib/bolt/module_installer/puppetfile/module.rb', line 9 def full_name @full_name end | 
#name ⇒ Object (readonly)
Returns the value of attribute name.
| 9 10 11 | # File 'lib/bolt/module_installer/puppetfile/module.rb', line 9 def name @name end | 
#type ⇒ Object (readonly)
Returns the value of attribute type.
| 9 10 11 | # File 'lib/bolt/module_installer/puppetfile/module.rb', line 9 def type @type end |