Class: Twb::Worksheet
- Inherits:
-
Object
- Object
- Twb::Worksheet
- Defined in:
- lib/twb/worksheet.rb
Constant Summary collapse
- @@hasher =
Digest::SHA256.new
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#node ⇒ Object
readonly
Returns the value of attribute node.
Instance Method Summary collapse
-
#initialize(sheetNode) ⇒ Worksheet
constructor
A new instance of Worksheet.
Constructor Details
#initialize(sheetNode) ⇒ Worksheet
Returns a new instance of Worksheet.
27 28 29 30 31 |
# File 'lib/twb/worksheet.rb', line 27 def initialize sheetNode @node = sheetNode @name = @node.attr('name') return self end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
25 26 27 |
# File 'lib/twb/worksheet.rb', line 25 def name @name end |
#node ⇒ Object (readonly)
Returns the value of attribute node.
25 26 27 |
# File 'lib/twb/worksheet.rb', line 25 def node @node end |