Class: Omnijack
- Inherits:
-
Object
- Object
- Omnijack
- 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
Defined Under Namespace
Modules: Config Classes: Endpoint, Project
Constant Summary collapse
- VERSION =
'1.1.0'
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, args = {}) ⇒ Omnijack
constructor
A new instance of Omnijack.
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
#args ⇒ Object (readonly)
Returns the value of attribute args.
33 34 35 |
# File 'lib/omnijack.rb', line 33 def args @args end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
33 34 35 |
# File 'lib/omnijack.rb', line 33 def name @name end |