Class: Thinreports::BasicReport::Core::Shape::Style::Basic

Inherits:
Base
  • Object
show all
Defined in:
lib/thinreports/basic_report/core/shape/style/basic.rb

Direct Known Subclasses

Graphic, Text

Instance Attribute Summary collapse

Attributes inherited from Base

#accessible_styles, #styles

Instance Method Summary collapse

Methods inherited from Base

#[], #[]=, accessible_styles, #copy, #finalized_styles, #has_style?, #identifier, inherited, #read_internal_style, style_accessible, style_accessor, style_reader, style_writer, #write_internal_style

Methods included from Utils

#blank_value?, #call_block_in, #deep_copy, included

Constructor Details

#initialize(*args) ⇒ Basic

Returns a new instance of Basic.



15
16
17
18
# File 'lib/thinreports/basic_report/core/shape/style/basic.rb', line 15

def initialize(*args)
  super
  @visible = @format.display?
end

Instance Attribute Details

#visibleObject

Returns the value of attribute visible.



10
11
12
# File 'lib/thinreports/basic_report/core/shape/style/basic.rb', line 10

def visible
  @visible
end