Class: AxlsxReport::Group

Inherits:
Object
  • Object
show all
Defined in:
lib/axlsx_report/group.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_indexObject

Returns the value of attribute end_index.



4
5
6
# File 'lib/axlsx_report/group.rb', line 4

def end_index
  @end_index
end

#nameObject (readonly)

Returns the value of attribute name.



3
4
5
# File 'lib/axlsx_report/group.rb', line 3

def name
  @name
end

#start_indexObject (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