Class: OpenTox::Algorithm::Generic
- Inherits:
-
Object
- Object
- OpenTox::Algorithm::Generic
- Defined in:
- lib/algorithm.rb
Instance Attribute Summary collapse
-
#date ⇒ Object
Returns the value of attribute date.
-
#title ⇒ Object
Returns the value of attribute title.
-
#uri ⇒ Object
Returns the value of attribute uri.
Class Method Summary collapse
Instance Attribute Details
#date ⇒ Object
Returns the value of attribute date.
8 9 10 |
# File 'lib/algorithm.rb', line 8 def date @date end |
#title ⇒ Object
Returns the value of attribute title.
8 9 10 |
# File 'lib/algorithm.rb', line 8 def title @title end |
#uri ⇒ Object
Returns the value of attribute uri.
8 9 10 |
# File 'lib/algorithm.rb', line 8 def uri @uri end |
Class Method Details
.find(uri) ⇒ Object
10 11 12 13 |
# File 'lib/algorithm.rb', line 10 def self.find(uri) owl = OpenTox::Owl.from_uri(uri, "Algorithm") return self.new(owl) end |