Sha256: 73359f4cfb55f511fbcf8286045b113297ef39112c0445ecbbd409f3cae16ca0

Contents?: true

Size: 344 Bytes

Versions: 149

Compression:

Stored size: 344 Bytes

Contents

module CmAdmin
  module Models
    class Tab

      attr_accessor :nav_item_name, :custom_action, :display_if

      def initialize(nav_item_name, custom_action, display_if)
        @nav_item_name = nav_item_name
        @custom_action = custom_action
        @display_if = display_if || lambda { |arg| return true }
      end
    end
  end
end

Version data entries

149 entries across 149 versions & 1 rubygems

Version Path
cm-admin-3.0.15 lib/cm_admin/models/tab.rb
cm-admin-3.0.14 lib/cm_admin/models/tab.rb
cm-admin-3.0.13 lib/cm_admin/models/tab.rb
cm-admin-3.0.12 lib/cm_admin/models/tab.rb
cm-admin-3.0.11 lib/cm_admin/models/tab.rb
cm-admin-3.0.10 lib/cm_admin/models/tab.rb
cm-admin-3.0.9 lib/cm_admin/models/tab.rb
cm-admin-3.0.8 lib/cm_admin/models/tab.rb
cm-admin-3.0.7 lib/cm_admin/models/tab.rb
cm-admin-3.0.6 lib/cm_admin/models/tab.rb
cm-admin-3.0.5 lib/cm_admin/models/tab.rb
cm-admin-3.0.4 lib/cm_admin/models/tab.rb
cm-admin-3.0.3 lib/cm_admin/models/tab.rb
cm-admin-3.0.2 lib/cm_admin/models/tab.rb
cm-admin-3.0.1 lib/cm_admin/models/tab.rb
cm-admin-3.0.0 lib/cm_admin/models/tab.rb
cm-admin-2.4.6 lib/cm_admin/models/tab.rb
cm-admin-2.4.5 lib/cm_admin/models/tab.rb
cm-admin-2.4.4 lib/cm_admin/models/tab.rb
cm-admin-2.4.3 lib/cm_admin/models/tab.rb