Class: Thinreports::BasicReport::Core::Shape::StackView::Internal

Inherits:
Basic::Internal show all
Defined in:
lib/thinreports/basic_report/core/shape/stack_view/internal.rb

Instance Attribute Summary collapse

Attributes inherited from Base::Internal

#format, #parent, #states, #style

Instance Method Summary collapse

Methods inherited from Basic::Internal

#identifier, #style

Methods inherited from Base::Internal

#copy

Methods included from Utils

#blank_value?, #call_block_in, #deep_copy, included

Constructor Details

#initialize(parent, format) ⇒ Internal

Returns a new instance of Internal.



9
10
11
12
# File 'lib/thinreports/basic_report/core/shape/stack_view/internal.rb', line 9

def initialize(parent, format)
  super
  @rows = []
end

Instance Attribute Details

#rowsObject

Returns the value of attribute rows.



14
15
16
# File 'lib/thinreports/basic_report/core/shape/stack_view/internal.rb', line 14

def rows
  @rows
end

Instance Method Details

#type_of?(type_name) ⇒ Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/thinreports/basic_report/core/shape/stack_view/internal.rb', line 16

def type_of?(type_name)
  type_name == StackView::TYPE_NAME
end