Module: Canql::Nodes::Anomaly::SingleFaspRatingNode
- Defined in:
- lib/canql/nodes/anomaly.rb
Instance Method Summary collapse
Instance Method Details
#to_fasp_rating ⇒ Object
136 137 138 139 140 |
# File 'lib/canql/nodes/anomaly.rb', line 136 def text_value.gsub(/( )/, '_').upcase.split('_AND_').map do |value| value.start_with?('FASP_') ? value : "FASP_#{value}" end end |