Skip to content

Commit

Permalink
Add deprecation doc strings
Browse files Browse the repository at this point in the history
  • Loading branch information
febeling committed Jan 18, 2015
1 parent 8620c24 commit cbd136c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/libsvm/model.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
module Libsvm
class Model
# @deprecated Use {#classes_count} instead
alias_method :classes, :classes_count

# @deprecated Use {#support_vectors_count} instead
alias_method :support_vectors, :support_vectors_count
end
end

0 comments on commit cbd136c

Please sign in to comment.