Method: Bolt::ModuleInstaller::Puppetfile::GitModule#to_hash

Defined in:
lib/bolt/module_installer/puppetfile/git_module.rb

#to_hashObject

Returns a hash that can be used to create a module specification.



28
29
30
31
32
33
# File 'lib/bolt/module_installer/puppetfile/git_module.rb', line 28

def to_hash
  {
    'git' => @git,
    'ref' => @ref
  }
end