Class: AbideDevUtils::XCCDF::Parser::Objects::Fixtext
- Inherits:
-
ElementBase
- Object
- ElementBase
- AbideDevUtils::XCCDF::Parser::Objects::Fixtext
- Defined in:
- lib/abide_dev_utils/xccdf/parser/objects.rb
Overview
Class for XCCDF Rule child element Fixtext
Instance Attribute Summary
Attributes inherited from ElementBase
#child_labels, #children, #link_labels
Class Method Summary collapse
Instance Method Summary collapse
- #digest ⇒ Object
-
#initialize(element) ⇒ Fixtext
constructor
A new instance of Fixtext.
- #to_s ⇒ Object
Methods inherited from ElementBase
#add_link, #add_links, #all_values, #label, #method_missing, #respond_to_missing?, #xccdf_type, xmlns
Methods included from Helpers::XPath
Methods included from Helpers::ElementChildren
Methods included from DigestObject
#digest_equal?, #digest_similarity, #digestable_instance_variables, #exclude_from_digest, #labeled_self_digest, #non_compatible?, #normalize_exclusion, #sorted_digest_parts, #split_labeled_digest
Constructor Details
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class AbideDevUtils::XCCDF::Parser::Objects::ElementBase
Class Method Details
.xpath ⇒ Object
547 548 549 |
# File 'lib/abide_dev_utils/xccdf/parser/objects.rb', line 547 def self.xpath 'fixtext' end |
Instance Method Details
#digest ⇒ Object
543 544 545 |
# File 'lib/abide_dev_utils/xccdf/parser/objects.rb', line 543 def digest @digest ||= search_children.find_child_by_class(LongText).digest end |
#to_s ⇒ Object
551 552 553 |
# File 'lib/abide_dev_utils/xccdf/parser/objects.rb', line 551 def to_s search_children.find_child_by_class(LongText).to_s end |