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
  def compact!
    self.each {|lid,str|
      self.delete(lid) if str.nil? || str.empty?
    }
  end