Class: Oss::Document
Instance Attribute Summary collapse
-
#fields ⇒ Object
Returns the value of attribute fields.
-
#lang ⇒ Object
Returns the value of attribute lang.
Attributes inherited from Field
Instance Method Summary collapse
-
#initialize(lang = 'ENGLISH') ⇒ Document
constructor
A new instance of Document.
Constructor Details
#initialize(lang = 'ENGLISH') ⇒ Document
Returns a new instance of Document.
150 151 152 153 |
# File 'lib/oss_rb.rb', line 150 def initialize(lang ='ENGLISH') @lang = lang @fields = Array.new end |
Instance Attribute Details
#fields ⇒ Object
Returns the value of attribute fields.
149 150 151 |
# File 'lib/oss_rb.rb', line 149 def fields @fields end |
#lang ⇒ Object
Returns the value of attribute lang.
149 150 151 |
# File 'lib/oss_rb.rb', line 149 def lang @lang end |