Class: Ve::PartOfSpeech

Inherits:
Object
  • Object
show all
Defined in:
lib/part_of_speech.rb

Defined Under Namespace

Classes: Adjective, Adverb, Conjunction, Determiner, Interjection, Noun, Number, Other, Postposition, Prefix, Preposition, Pronoun, ProperNoun, Suffix, Symbol, TBD, Unknown, Verb

Class Method Summary collapse

Class Method Details

.nameObject



4
5
6
# File 'lib/part_of_speech.rb', line 4

def self.name
  self.to_s.split('::').last.downcase
end