Class: Thinreports::BasicReport::Core::Shape::Basic::Internal
- Inherits:
-
Thinreports::BasicReport::Core::Shape::Base::Internal
- Object
- Thinreports::BasicReport::Core::Shape::Base::Internal
- Thinreports::BasicReport::Core::Shape::Basic::Internal
- Defined in:
- lib/thinreports/basic_report/core/shape/basic/internal.rb
Direct Known Subclasses
BlockInternal, List::PageState, PageNumber::Internal, StackView::Internal, Text::Internal
Instance Attribute Summary
Attributes inherited from Thinreports::BasicReport::Core::Shape::Base::Internal
Instance Method Summary collapse
Methods inherited from Thinreports::BasicReport::Core::Shape::Base::Internal
Methods included from Utils
#blank_value?, #call_block_in, #deep_copy, included
Constructor Details
This class inherits a constructor from Thinreports::BasicReport::Core::Shape::Base::Internal
Instance Method Details
#identifier ⇒ Object
20 21 22 |
# File 'lib/thinreports/basic_report/core/shape/basic/internal.rb', line 20 def identifier "#{id}#{style.identifier}" end |
#style ⇒ Object
12 13 14 |
# File 'lib/thinreports/basic_report/core/shape/basic/internal.rb', line 12 def style @style ||= Style::Graphic.new(format) end |
#type_of?(type_name) ⇒ Boolean
16 17 18 |
# File 'lib/thinreports/basic_report/core/shape/basic/internal.rb', line 16 def type_of?(type_name) [:basic, type].include?(type_name) end |