Class: Thinreports::BasicReport::Core::Shape::Style::Basic
- Defined in:
- lib/thinreports/basic_report/core/shape/style/basic.rb
Instance Attribute Summary collapse
-
#visible ⇒ Object
Returns the value of attribute visible.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(*args) ⇒ Basic
constructor
A new instance of Basic.
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
#visible ⇒ Object
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 |