Sha256: 5964b69a19515d7c34a618e739933a3a08c2356e407474787e22914157ec47a2

Contents?: true

Size: 626 Bytes

Versions: 5

Compression:

Stored size: 626 Bytes

Contents

# frozen_string_literal: true

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