Class: Rock::HTML::OSPackage

Inherits:
Object
  • Object
show all
Defined in:
lib/rock/html/os_package.rb

Overview

Representation of osdeps packages within the HTML generation code.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#dataObject (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

#nameObject (readonly)

The package name



6
7
8
# File 'lib/rock/html/os_package.rb', line 6

def name
  @name
end