Class: ODDB::Remote::Drugs::Unit
- Defined in:
- lib/oddb/remote/drugs/unit.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from Object
Instance Method Summary collapse
-
#initialize(source, name) ⇒ Unit
constructor
A new instance of Unit.
Methods inherited from Object
Constructor Details
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
11 12 13 |
# File 'lib/oddb/remote/drugs/unit.rb', line 11 def name @name end |