Sha256: 2c1f35a7e62626e69fdeb1457aa59022c54076288ebdad01492bb26633aa1cd6

Contents?: true

Size: 674 Bytes

Versions: 4

Compression:

Stored size: 674 Bytes

Contents

# frozen_string_literal: true

##
# Usage example:
#
#   ConvenientService::Examples::Dry::V1::Gemfile::Services::AssertNodeAvailable.result
#
module ConvenientService
  module Examples
    module Dry
      module V1
        class Gemfile
          module Services
            class AssertNodeAvailable
              include DryService::Config

              ##
              # NOTE: `> /dev/null 2>&1` is used to hide output.
              # https://unix.stackexchange.com/a/119650/394253
              #
              step Services::RunShellCommand, in: {command: -> { "which node > /dev/null 2>&1" }}
            end
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
convenient_service-0.17.0 lib/convenient_service/examples/dry/v1/gemfile/services/assert_node_available.rb
convenient_service-0.16.0 lib/convenient_service/examples/dry/v1/gemfile/services/assert_node_available.rb
convenient_service-0.15.0 lib/convenient_service/examples/dry/v1/gemfile/services/assert_node_available.rb
convenient_service-0.14.0 lib/convenient_service/examples/dry/v1/gemfile/services/assert_node_available.rb