image/files/boot/lib/ruby/boot/services/setup.rb
def commands
    config.to_h.map do |name, auto|
      # @formatter:off
      ['enable',
       name.to_s, '--%<no>sauto-start' % {
         no: auto ? '' : 'no-'
       }]
      # @formatter:on
    end
  end
# Get commands as args passed to svctl
#
# @return [Array]
Get commands as args passed to svctl
Get commands as args passed to svctl
def commands
    config.to_h.map do |name, auto|
      ['enable',
       name.to_s, '--%<no>sauto-start' % {
         no: auto ? '' : 'no-'
       }]
    end
  end
def commands config . to_h . map do | name , auto | [ 'enable' , name . to_s , '--%<no>sauto-start' % { no : auto ? '' : 'no-' } ] end end
Get commands as args passed to svctl
Get commands as args passed to svctl
# @formatter:off # @formatter:on
None
Array