Class: Rock::HTML::OSPackage
- Inherits:
-
Object
- Object
- Rock::HTML::OSPackage
- Defined in:
- lib/rock/html/os_package.rb
Overview
Representation of osdeps packages within the HTML generation code.
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
The osdep definition, as a list of file-to-osdep info.
-
#name ⇒ Object
readonly
The package name.
Instance Method Summary collapse
-
#initialize(name, data) ⇒ OSPackage
constructor
A new instance of OSPackage.
Constructor Details
#initialize(name, data) ⇒ OSPackage
Returns a new instance of OSPackage
10 11 12 13 |
# File 'lib/rock/html/os_package.rb', line 10 def initialize(name, data) @name = name @data = data end |
Instance Attribute Details
#data ⇒ Object (readonly)
The osdep definition, as a list of file-to-osdep info
8 9 10 |
# File 'lib/rock/html/os_package.rb', line 8 def data @data end |
#name ⇒ Object (readonly)
The package name
6 7 8 |
# File 'lib/rock/html/os_package.rb', line 6 def name @name end |