src/parser.rb
# proceeds slits like they were head elements relying on Parser#head_of
# @param splits [Array] collection of pages per sheet without head
# @return [String] printer-instruction for last tuple of slits
proceeds slits like they were head elements relying on Parser#head_of
proceeds slits like they were head elements relying on Parser#head_of
def partial_instruction_of(splits)
    splits.inject('') do |string, sub_range|
      "#{string}#{head_of(sub_range)};"
    end
  end
def partial_instruction_of ( splits ) splits . inject ( '' ) do | string , sub_range | "#{string}#{head_of(sub_range)};" end end
proceeds slits like they were head elements relying on Parser#head_of
proceeds slits like they were head elements relying on Parser#head_of
printer-instruction for last tuple of slits
printer - instruction for last tuple of slits
String
splits
collection of pages per sheet without head
collection of pages per sheet without head