Sha256: 4260d2223f052c4d7a5f34e108fe9db47dd293cd2dfcd6be610cd8fdf24662b8

Contents?: true

Size: 418 Bytes

Versions: 118

Compression:

Stored size: 418 Bytes

Contents

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

      class_attribute :id

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

      def is_divider?
        true
      end

      def is_card?
        false
      end
    end
  end
end

Version data entries

118 entries across 118 versions & 1 rubygems

Version Path
avo-2.10.0 lib/avo/dashboards/base_divider.rb
avo-2.9.1.pre7 lib/avo/dashboards/base_divider.rb
avo-2.9.1.pre6 lib/avo/dashboards/base_divider.rb
avo-2.9.1.pre5 lib/avo/dashboards/base_divider.rb
avo-2.9.1.pre4 lib/avo/dashboards/base_divider.rb
avo-2.9.1.pre3 lib/avo/dashboards/base_divider.rb
avo-2.9.1.pre2 lib/avo/dashboards/base_divider.rb
avo-2.9.1.pre1 lib/avo/dashboards/base_divider.rb
avo-2.9.0 lib/avo/dashboards/base_divider.rb
avo-2.8.0 lib/avo/dashboards/base_divider.rb
avo-2.7.1.pre.1 lib/avo/dashboards/base_divider.rb
avo-2.7.0 lib/avo/dashboards/base_divider.rb
avo-2.6.1.pre.2 lib/avo/dashboards/base_divider.rb
avo-2.6.1.pre.1 lib/avo/dashboards/base_divider.rb
avo-2.6.0 lib/avo/dashboards/base_divider.rb
avo-2.5.2.pre.7 lib/avo/dashboards/base_divider.rb
avo-2.5.2.pre.6 lib/avo/dashboards/base_divider.rb
avo-2.5.2.pre.5 lib/avo/dashboards/base_divider.rb
avo-2.5.2.pre.4 lib/avo/dashboards/base_divider.rb
avo-2.5.2.pre.3 lib/avo/dashboards/base_divider.rb