lib/origen/specs/documentation.rb in origen-0.7.8 vs lib/origen/specs/documentation.rb in origen-0.7.9
- old
+ new
@@ -42,19 +42,23 @@
attr_accessor :audience
# DITA Formatted Text that appears before the table
attr_accessor :link
+ # Applicable Devices for the map
+ attr_accessor :applicable_devices
+
# Initialize the Class
- def initialize(header_info = {}, selection = {}, link = nil)
+ def initialize(header_info = {}, selection = {}, applicable_devs = [], link = nil)
@level = header_info[:level]
@section = header_info[:section]
@subsection = header_info[:subsection]
@interface = selection[:interface]
@mode = selection[:mode]
@type = selection[:type]
@sub_type = selection[:sub_type]
@audience = selection[:audience]
+ @applicable_devices = applicable_devs
@link = link
end
end
end
end