Module: Gamefic::Grammar::Gender

Included in:
WordAdapter, Plot::YouMount::YouGrammarSet
Defined in:
lib/gamefic/grammar/gender.rb

Instance Attribute Summary collapse

Instance Attribute Details

#genderObject



6
7
8
9
# File 'lib/gamefic/grammar/gender.rb', line 6

def gender
  # Supported values are "male", "female", "other", and "neutral"

  @gender ||= (self.kind_of?(Character) ? "other" : "neutral")
end