lib/origen/specs/note.rb in origen-0.7.31 vs lib/origen/specs/note.rb in origen-0.7.32
- old
+ new
@@ -20,10 +20,13 @@
attr_accessor :audience
# Plain text of the note. No Mark-up allowed in this field.
attr_accessor :text
+ # Note Number. Optional. If not set, then DITA will make the number
+ attr_accessor :number
+
# Markup of the text field. Currently markup has been tested with
#
# * DITA
# * XML
# * HTML
@@ -44,9 +47,10 @@
@mode = options[:mode]
@audience = options[:audience]
@text = options[:text]
@markup = options[:markup]
@internal_comment = options[:internal_comment]
+ @number = options[:number]
end
end
end
end