Sha256: 9ab84e70f41ce7b12336802f2a0da7bf1239c5537b7c2e360abef149d15d2b3e

Contents?: true

Size: 499 Bytes

Versions: 16

Compression:

Stored size: 499 Bytes

Contents

module Vedeu

  module Editor

    # Used by {Vedeu::Editor::Lines} and {Vedeu::Editor::Line} to
    # fetch an item from the respective collection.
    #
    # @api private
    #
    module Collection

      include Vedeu::Repositories::Assemblage

      # Fetches an item from a collection.
      #
      # @param index [Fixnum]
      # @return [String]
      def by_index(index)
        Vedeu::Editor::Item.by_index(collection, index)
      end

    end # Collection

  end # Editor

end # Vedeu

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
vedeu-0.8.0 lib/vedeu/editor/collection.rb
vedeu-0.7.4 lib/vedeu/editor/collection.rb
vedeu-0.7.3 lib/vedeu/editor/collection.rb
vedeu-0.7.2 lib/vedeu/editor/collection.rb
vedeu-0.7.1 lib/vedeu/editor/collection.rb
vedeu-0.7.0 lib/vedeu/editor/collection.rb
vedeu-0.6.71 lib/vedeu/editor/collection.rb
vedeu-0.6.70 lib/vedeu/editor/collection.rb
vedeu-0.6.69 lib/vedeu/editor/collection.rb
vedeu-0.6.68 lib/vedeu/editor/collection.rb
vedeu-0.6.67 lib/vedeu/editor/collection.rb
vedeu-0.6.66 lib/vedeu/editor/collection.rb
vedeu-0.6.65 lib/vedeu/editor/collection.rb
vedeu-0.6.64 lib/vedeu/editor/collection.rb
vedeu-0.6.63 lib/vedeu/editor/collection.rb
vedeu-0.6.62 lib/vedeu/editor/collection.rb