Class: LightSide::Corpus
- Inherits:
-
Object
- Object
- LightSide::Corpus
- Includes:
- Resources
- Defined in:
- lib/lightside/models/corpus.rb
Instance Method Summary collapse
Methods included from Resources
#attributes, #delete, #id, included, #initialize, #reload, #save, #set_attributes_from_hash, #to_s, #update, #writable_attributes
Instance Method Details
#training_answer_ids ⇒ Object
11 12 13 |
# File 'lib/lightside/models/corpus.rb', line 11 def training_answer_ids training_answers.map { |url| url.split("/").last } end |