Sha256: 068faff701942bc2cfa9b3d4863d2b8be87a45fadb2ac42dfd7bc3fa6101bbba

Contents?: true

Size: 541 Bytes

Versions: 5

Compression:

Stored size: 541 Bytes

Contents

# frozen_string_literal: true

module Thinreports
  module BasicReport
    module Core
      module Shape
        module Basic
          class Format < Core::Format::Base
            include Utils

            config_reader :type, :id
            config_reader :style
            config_checker true, :display
            config_reader follow_stretch: %w[follow-stretch]

            def affect_bottom_margin?
              attributes.fetch('affect-bottom-margin', true)
            end
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
thinreports-0.14.2 lib/thinreports/basic_report/core/shape/basic/format.rb
thinreports-0.14.1 lib/thinreports/basic_report/core/shape/basic/format.rb
thinreports-0.14.0 lib/thinreports/basic_report/core/shape/basic/format.rb
thinreports-0.13.1 lib/thinreports/basic_report/core/shape/basic/format.rb
thinreports-0.13.0 lib/thinreports/basic_report/core/shape/basic/format.rb