Sha256: 0c7b93195a999a6577e63f4a97ec1f6f60414a3ee00b77aa29748835618b4ccb

Contents?: true

Size: 705 Bytes

Versions: 4

Compression:

Stored size: 705 Bytes

Contents

# frozen_string_literal: true

##
# Usage example:
#
#   ConvenientService::Examples::Standard::V1::Gemfile::Services::AssertNodeAvailable.result
#
module ConvenientService
  module Examples
    module Standard
      module V1
        class Gemfile
          module Services
            class AssertNodeAvailable
              include ConvenientService::Standard::V1::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/standard/v1/gemfile/services/assert_node_available.rb
convenient_service-0.16.0 lib/convenient_service/examples/standard/v1/gemfile/services/assert_node_available.rb
convenient_service-0.15.0 lib/convenient_service/examples/standard/v1/gemfile/services/assert_node_available.rb
convenient_service-0.14.0 lib/convenient_service/examples/standard/v1/gemfile/services/assert_node_available.rb