Class: Xmlss::Element::Worksheet
- Inherits:
-
Object
- Object
- Xmlss::Element::Worksheet
- Defined in:
- lib/xmlss/element/worksheet.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(*args) ⇒ Worksheet
constructor
A new instance of Worksheet.
Constructor Details
#initialize(*args) ⇒ Worksheet
Returns a new instance of Worksheet.
13 14 15 16 17 18 |
# File 'lib/xmlss/element/worksheet.rb', line 13 def initialize(*args) attrs, self.name = [ args.last.kind_of?(::Hash) ? args.pop : {}, args.last ] end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
11 12 13 |
# File 'lib/xmlss/element/worksheet.rb', line 11 def name @name end |
Class Method Details
.writer ⇒ Object
9 |
# File 'lib/xmlss/element/worksheet.rb', line 9 def self.writer; :worksheet; end |