Sha256: 31c19755b1cbc691dbad2fea092260ecf1a76dc29959d90cf7ea2417659aacfb

Contents?: true

Size: 606 Bytes

Versions: 62

Compression:

Stored size: 606 Bytes

Contents

# sbJson 1.0 writer hours

# 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

62 entries across 62 versions & 1 rubygems

Version Path
adiwg-mdtranslator-2.19.0.pre.beta.31 lib/adiwg/mdtranslator/writers/sbJson/sections/sbJson_hours.rb
adiwg-mdtranslator-2.19.0.pre.beta.30 lib/adiwg/mdtranslator/writers/sbJson/sections/sbJson_hours.rb
adiwg-mdtranslator-2.19.0.pre.beta.29 lib/adiwg/mdtranslator/writers/sbJson/sections/sbJson_hours.rb
adiwg-mdtranslator-2.19.0.pre.beta.28 lib/adiwg/mdtranslator/writers/sbJson/sections/sbJson_hours.rb
adiwg-mdtranslator-2.19.0.pre.beta.27 lib/adiwg/mdtranslator/writers/sbJson/sections/sbJson_hours.rb
adiwg-mdtranslator-2.19.0.pre.beta.26 lib/adiwg/mdtranslator/writers/sbJson/sections/sbJson_hours.rb
adiwg-mdtranslator-2.19.0.pre.beta.13 lib/adiwg/mdtranslator/writers/sbJson/sections/sbJson_hours.rb
adiwg-mdtranslator-2.19.0.pre.beta.12 lib/adiwg/mdtranslator/writers/sbJson/sections/sbJson_hours.rb
adiwg-mdtranslator-2.19.0.pre.beta.11 lib/adiwg/mdtranslator/writers/sbJson/sections/sbJson_hours.rb
adiwg-mdtranslator-2.19.0.pre.beta.10 lib/adiwg/mdtranslator/writers/sbJson/sections/sbJson_hours.rb
adiwg-mdtranslator-2.19.0.pre.beta.9 lib/adiwg/mdtranslator/writers/sbJson/sections/sbJson_hours.rb
adiwg-mdtranslator-2.19.0.pre.beta.8 lib/adiwg/mdtranslator/writers/sbJson/sections/sbJson_hours.rb
adiwg-mdtranslator-2.19.0.pre.beta.7 lib/adiwg/mdtranslator/writers/sbJson/sections/sbJson_hours.rb
adiwg-mdtranslator-2.18.4 lib/adiwg/mdtranslator/writers/sbJson/sections/sbJson_hours.rb
adiwg-mdtranslator-2.18.2 lib/adiwg/mdtranslator/writers/sbJson/sections/sbJson_hours.rb
adiwg-mdtranslator-2.18.1 lib/adiwg/mdtranslator/writers/sbJson/sections/sbJson_hours.rb
adiwg-mdtranslator-2.18.0 lib/adiwg/mdtranslator/writers/sbJson/sections/sbJson_hours.rb
adiwg-mdtranslator-2.18.0rc9 lib/adiwg/mdtranslator/writers/sbJson/sections/sbJson_hours.rb
adiwg-mdtranslator-2.18.0rc8 lib/adiwg/mdtranslator/writers/sbJson/sections/sbJson_hours.rb
adiwg-mdtranslator-2.18.0rc7 lib/adiwg/mdtranslator/writers/sbJson/sections/sbJson_hours.rb