Class: AxlsxReport::Group
- Inherits:
-
Object
- Object
- AxlsxReport::Group
- Defined in:
- lib/axlsx_report/group.rb
Instance Attribute Summary collapse
-
#end_index ⇒ Object
Returns the value of attribute end_index.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#start_index ⇒ Object
readonly
Returns the value of attribute start_index.
Instance Method Summary collapse
-
#initialize(name, start_index) ⇒ Group
constructor
A new instance of Group.
Constructor Details
#initialize(name, start_index) ⇒ Group
Returns a new instance of Group.
6 7 8 9 |
# File 'lib/axlsx_report/group.rb', line 6 def initialize(name, start_index) @name = name @start_index = start_index end |
Instance Attribute Details
#end_index ⇒ Object
Returns the value of attribute end_index.
4 5 6 |
# File 'lib/axlsx_report/group.rb', line 4 def end_index @end_index end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/axlsx_report/group.rb', line 3 def name @name end |
#start_index ⇒ Object (readonly)
Returns the value of attribute start_index.
3 4 5 |
# File 'lib/axlsx_report/group.rb', line 3 def start_index @start_index end |