Sha256: 1fb9e2c9641099df93356c45181a710843959d1f29901b9c4f93563de86d0a55

Contents?: true

Size: 249 Bytes

Versions: 11

Compression:

Stored size: 249 Bytes

Contents

module Martyr
  module HasLevelCollection
    extend ActiveSupport::Concern

    included do
      attr_reader :levels
      delegate :lowest_level, :level_above, :find_level, :level_names, :level_objects, :has_level?, to: :levels
    end

  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
martyr-0.1.85.pre lib/martyr/level_concern/has_level_collection.rb
martyr-0.1.84.pre lib/martyr/level_concern/has_level_collection.rb
martyr-0.1.82.pre lib/martyr/level_concern/has_level_collection.rb
martyr-0.1.81.pre lib/martyr/level_concern/has_level_collection.rb
martyr-0.1.80.pre lib/martyr/level_concern/has_level_collection.rb
martyr-0.1.79.pre lib/martyr/level_concern/has_level_collection.rb
martyr-0.1.78.pre lib/martyr/level_concern/has_level_collection.rb
martyr-0.1.77.pre lib/martyr/level_concern/has_level_collection.rb
martyr-0.1.76.pre lib/martyr/level_concern/has_level_collection.rb
martyr-0.1.75.pre lib/martyr/level_concern/has_level_collection.rb
martyr-0.1.74.pre lib/martyr/level_concern/has_level_collection.rb