module NWN::Gff::CexolocstrValue
Public Instance Methods
compact!()
click to toggle source
Removes all nil and empty strings.
# File lib/nwn/gff/cexolocstr.rb, line 23 def compact! self.each {|lid,str| self.delete(lid) if str.nil? || str.empty? } end