Sha256: f306166632f84de397155418525f4ad89775a1c3ad75297eefbf7e8b00e95946

Contents?: true

Size: 391 Bytes

Versions: 6

Compression:

Stored size: 391 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/core_ext'

module EhbrsRubyUtils
  class SpreaderT1
    require_sub __FILE__
    common_constructor :items

    # @return [Array]
    def result
      root_level = ::EhbrsRubyUtils::SpreaderT1::GroupLevel.new('ROOT')
      items.each { |item| root_level.push(item.to_spreader_t1_path, item) }
      root_level.pop_all
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ehbrs_ruby_utils-0.17.3 lib/ehbrs_ruby_utils/spreader_t1.rb
ehbrs_ruby_utils-0.17.2 lib/ehbrs_ruby_utils/spreader_t1.rb
ehbrs_ruby_utils-0.17.1 lib/ehbrs_ruby_utils/spreader_t1.rb
ehbrs_ruby_utils-0.17.0 lib/ehbrs_ruby_utils/spreader_t1.rb
ehbrs_ruby_utils-0.16.1 lib/ehbrs_ruby_utils/spreader_t1.rb
ehbrs_ruby_utils-0.16.0 lib/ehbrs_ruby_utils/spreader_t1.rb