Class: Omnijack

Inherits:
Object
  • Object
show all
Defined in:
lib/omnijack.rb,
lib/omnijack/config.rb,
lib/omnijack/project.rb,
lib/omnijack/version.rb,
lib/omnijack/endpoint.rb,
lib/omnijack/endpoint/list.rb,
lib/omnijack/endpoint/metadata.rb,
lib/omnijack/endpoint/platforms.rb,
lib/omnijack/project/metaprojects.rb

Overview

Version string for Chef::Package::Metadata

Author:

Direct Known Subclasses

Endpoint, Project

Defined Under Namespace

Modules: Config Classes: Endpoint, Project

Constant Summary collapse

VERSION =
'1.1.0'

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, args = {}) ⇒ Omnijack

Returns a new instance of Omnijack.



29
30
31
32
# File 'lib/omnijack.rb', line 29

def initialize(name, args = {})
  @name = name.to_sym
  @args = args
end

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



33
34
35
# File 'lib/omnijack.rb', line 33

def args
  @args
end

#nameObject (readonly)

Returns the value of attribute name.



33
34
35
# File 'lib/omnijack.rb', line 33

def name
  @name
end