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-4.0.0.beta16 lib/ui_bibz/ui/concerns/navigation_concern.rb
ui_bibz-4.0.0.beta15 lib/ui_bibz/ui/concerns/navigation_concern.rb
ui_bibz-4.0.0.beta14 lib/ui_bibz/ui/concerns/navigation_concern.rb
ui_bibz-4.0.0.beta13 lib/ui_bibz/ui/concerns/navigation_concern.rb
ui_bibz-4.0.0.beta10 lib/ui_bibz/ui/concerns/navigation_concern.rb
ui_bibz-4.0.0.beta9 lib/ui_bibz/ui/concerns/navigation_concern.rb
ui_bibz-4.0.0.beta8 lib/ui_bibz/ui/concerns/navigation_concern.rb
ui_bibz-4.0.0.beta7 lib/ui_bibz/ui/concerns/navigation_concern.rb
ui_bibz-4.0.0.beta6 lib/ui_bibz/ui/concerns/navigation_concern.rb
ui_bibz-4.0.0.beta4 lib/ui_bibz/ui/concerns/navigation_concern.rb
ui_bibz-4.0.0.beta3 lib/ui_bibz/ui/concerns/navigation_concern.rb
ui_bibz-3.0.13 lib/ui_bibz/ui/concerns/navigation_concern.rb
ui_bibz-3.0.12 lib/ui_bibz/ui/concerns/navigation_concern.rb
ui_bibz-3.0.11 lib/ui_bibz/ui/concerns/navigation_concern.rb
ui_bibz-3.0.10 lib/ui_bibz/ui/concerns/navigation_concern.rb
ui_bibz-3.0.9 lib/ui_bibz/ui/concerns/navigation_concern.rb
ui_bibz-3.0.8 lib/ui_bibz/ui/concerns/navigation_concern.rb
ui_bibz-3.0.7 lib/ui_bibz/ui/concerns/navigation_concern.rb
ui_bibz-3.0.6 lib/ui_bibz/ui/concerns/navigation_concern.rb
ui_bibz-3.0.5 lib/ui_bibz/ui/concerns/navigation_concern.rb