Class: Thinreports::BasicReport::Core::Shape::TextBlock::Format

Inherits:
Basic::BlockFormat show all
Defined in:
lib/thinreports/basic_report/core/shape/text_block/format.rb

Instance Method Summary collapse

Methods inherited from Basic::Format

#affect_bottom_margin?

Methods included from Utils

#blank_value?, #call_block_in, #deep_copy, included

Methods inherited from Format::Base

#attributes, config_accessor, config_checker, config_reader, config_writer, #initialize

Constructor Details

This class inherits a constructor from Thinreports::BasicReport::Core::Format::Base

Instance Method Details

#has_reference?Boolean

For saving compatible 0.8.x format API

Returns:

  • (Boolean)


35
36
37
# File 'lib/thinreports/basic_report/core/shape/text_block/format.rb', line 35

def has_reference?
  !blank_value?(ref_id)
end