Class: Outputlanguage
- Inherits:
-
Object
- Object
- Outputlanguage
- Defined in:
- lib/refworks/properties/outputlanguage/outputlanguage.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(rawlang) ⇒ Outputlanguage
constructor
A new instance of Outputlanguage.
Constructor Details
#initialize(rawlang) ⇒ Outputlanguage
Returns a new instance of Outputlanguage.
4 5 6 7 |
# File 'lib/refworks/properties/outputlanguage/outputlanguage.rb', line 4 def initialize(rawlang) @name = rawlang["__content__"] @id = rawlang["id"] end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
2 3 4 |
# File 'lib/refworks/properties/outputlanguage/outputlanguage.rb', line 2 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
2 3 4 |
# File 'lib/refworks/properties/outputlanguage/outputlanguage.rb', line 2 def name @name end |