Class: FBO::Dump::NoticeNode
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- FBO::Dump::NoticeNode
- Defined in:
- lib/fbo/node_extensions.rb
Overview
Node types corresponding to
Direct Known Subclasses
AmendmentNode, AwardNode, CombinedSolicitationNode, DocumentArchivalNode, DocumentDeletingNode, DocumentUnarchivalNode, DocumentUploadNode, FairOpportunityNode, ForeignStandardNode, IntentToBundleNode, JustificationAndApprovalNode, ModificationNode, PresolicitationNode, SaleOfSurplusNode, SourcesSoughtNode, SpecialNoticeNode
Instance Method Summary collapse
Instance Method Details
#to_hash ⇒ Object
13 14 15 16 |
# File 'lib/fbo/node_extensions.rb', line 13 def to_hash body_node = elements.first Hash[ body_node.elements.map { |e| [ e.to_sym, e.value ] } ] end |
#type ⇒ Object
18 19 20 |
# File 'lib/fbo/node_extensions.rb', line 18 def type self.class.type end |