Sha256: 7271f13e0408abc5ccb173a14398850329381b16c54d269422c94f793d00c98e

Contents?: true

Size: 600 Bytes

Versions: 1

Compression:

Stored size: 600 Bytes

Contents

# sbJson 1.0 writer

# History:
#  Stan Smith 2017-05-26 original script

module ADIWG
   module Mdtranslator
      module Writers
         module SbJson

            module Hours

               def self.build(aHours)

                  hours = ''

                  aHours.each do |hour|
                     hours += hour + '; '
                  end

                  # clean off last semicolon
                  if hours.length > 2
                     hours = hours[0...-2]
                  end

                  hours

               end

            end

         end
      end
   end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
adiwg-mdtranslator-2.0.0rc9 lib/adiwg/mdtranslator/writers/sbJson/sections/sbJson_hours.rb