Module: StuffClassifier::Storage::ActAsStorable

Included in:
Base, Bayes, TfIdf
Defined in:
lib/stuff-classifier/storage.rb

Instance Method Summary collapse

Instance Method Details

#storable(*to_store) ⇒ Object



6
7
8
# File 'lib/stuff-classifier/storage.rb', line 6

def storable(*to_store)
  @to_store = to_store
end

#to_storeObject



9
10
11
# File 'lib/stuff-classifier/storage.rb', line 9

def to_store
  @to_store || []
end