Sha256: f20247a67376b52d5c36a1e41c3acd48880e23a056736b1e3e17846a082f7c01

Contents?: true

Size: 647 Bytes

Versions: 5

Compression:

Stored size: 647 Bytes

Contents

# frozen_string_literal: true

##
# Usage example:
#
#   ConvenientService::Examples::Standard::Gemfile::Services::AssertNodeAvailable.result
#
module ConvenientService
  module Examples
    module Standard
      class Gemfile
        module Services
          class AssertNodeAvailable
            include ConvenientService::Standard::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

Version data entries

5 entries across 5 versions & 1 rubygems

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