Sha256: 3ce2814082764755727f8165418d8b86447d977ccf83efc7f5276ff64ae49613

Contents?: true

Size: 675 Bytes

Versions: 3

Compression:

Stored size: 675 Bytes

Contents

# frozen_string_literal: true

require 'tty-which'
require 'yaml'
require 'shellwords'
require 'fcntl'
require 'time'
require 'chronic'
require 'fileutils'
require_relative 'conductor/env'
require_relative 'conductor/config'
require_relative 'conductor/hash'
require_relative 'conductor/array'
require_relative 'conductor/boolean'
require_relative 'conductor/string'
require_relative 'conductor/script'
require_relative 'conductor/command'
require_relative 'conductor/condition'

module Conductor
  class << self
    def stdin
      @stdin ||= $stdin.read.strip.force_encoding('utf-8') if $stdin.stat.size.positive? || $stdin.fcntl(Fcntl::F_GETFL, 0).zero?
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
marked-conductor-1.0.5 lib/conductor.rb
marked-conductor-1.0.4 lib/conductor.rb
marked-conductor-1.0.3 lib/conductor.rb