Module NWN::Gff::CexolocstrValue

  1. lib/nwn/gff/cexolocstr.rb

Methods

public instance

  1. compact!

Public instance methods

compact! ()

Removes all nil and empty strings.

[show source]
    # File lib/nwn/gff/cexolocstr.rb, line 23
23:   def compact!
24:     self.each {|lid,str|
25:       self.delete(lid) if str.nil? || str.empty?
26:     }
27:   end