Sha256: 4fed596ed06ab995c1bfb550182180763fd7dd260b9c653cda301db0d928d174

Contents?: true

Size: 358 Bytes

Versions: 3

Compression:

Stored size: 358 Bytes

Contents

module Avo
  module Dashboards
    class BaseDivider
      attr_reader :label
      attr_reader :invisible

      class_attribute :id

      def initialize(label: nil, invisible: false)
        @label = label
        @invisible = invisible
      end

      def is_divider?
        true
      end

      def is_card?
        false
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
avo-2.1.1 lib/avo/dashboards/base_divider.rb
avo-2.1.0 lib/avo/dashboards/base_divider.rb
avo-2.0.0 lib/avo/dashboards/base_divider.rb