module NWN::Gff::Cexolocstr
Constants
- DEFAULT_STR_REF
Public Instance Methods
has_str_ref?()
click to toggle source
# File lib/nwn/gff/cexolocstr.rb, line 16 def has_str_ref? str_ref != DEFAULT_STR_REF end
str_ref()
click to toggle source
# File lib/nwn/gff/cexolocstr.rb, line 10 def str_ref self['str_ref'] || DEFAULT_STR_REF end
str_ref=(s)
click to toggle source
# File lib/nwn/gff/cexolocstr.rb, line 13 def str_ref= s self['str_ref'] = s.to_i end