Sha256: 67878ad886e7ceabb8aa776efe34258dc6a44c85d1f7154cbe165263bfc84e97

Contents?: true

Size: 334 Bytes

Versions: 24

Compression:

Stored size: 334 Bytes

Contents

# frozen_string_literal: true

module UiBibz::Ui::Concerns::NavigationConcern # :nodoc:
  extend ActiveSupport::Concern

  included do
    def spacer(num = 'auto')
      kls = " me-#{num}"
      @items.last.html_options[:class].nil? ? @items.last.html_options[:class] = kls : @items.last.html_options[:class] << kls
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
ui_bibz-3.0.4 lib/ui_bibz/ui/concerns/navigation_concern.rb
ui_bibz-3.0.3 lib/ui_bibz/ui/concerns/navigation_concern.rb
ui_bibz-3.0.2 lib/ui_bibz/ui/concerns/navigation_concern.rb
ui_bibz-3.0.1 lib/ui_bibz/ui/concerns/navigation_concern.rb