Sha256: 955406fc315ddc01f8264914b2db05229437e906b6ff9cb3622c63f3b0784728

Contents?: true

Size: 264 Bytes

Versions: 156

Compression:

Stored size: 264 Bytes

Contents

class Specinfra::Command::Windows::Base
  class << self
    def create
      self
    end

    private
    def windows_account account
      match = /((.+)\\)?(.+)/.match account
      domain = match[2]
      name = match[3]
      [name, domain]
    end
  end
end

Version data entries

156 entries across 156 versions & 1 rubygems

Version Path
specinfra-2.30.0 lib/specinfra/command/windows/base.rb
specinfra-2.29.0 lib/specinfra/command/windows/base.rb
specinfra-2.28.4 lib/specinfra/command/windows/base.rb
specinfra-2.28.3 lib/specinfra/command/windows/base.rb
specinfra-2.28.2 lib/specinfra/command/windows/base.rb
specinfra-2.28.1 lib/specinfra/command/windows/base.rb
specinfra-2.28.0 lib/specinfra/command/windows/base.rb
specinfra-2.27.1 lib/specinfra/command/windows/base.rb
specinfra-2.27.0 lib/specinfra/command/windows/base.rb
specinfra-2.26.1 lib/specinfra/command/windows/base.rb
specinfra-2.26.0 lib/specinfra/command/windows/base.rb
specinfra-2.25.1 lib/specinfra/command/windows/base.rb
specinfra-2.25.0 lib/specinfra/command/windows/base.rb
specinfra-2.24.2 lib/specinfra/command/windows/base.rb
specinfra-2.24.1 lib/specinfra/command/windows/base.rb
specinfra-2.24.0 lib/specinfra/command/windows/base.rb
specinfra-2.23.0 lib/specinfra/command/windows/base.rb
specinfra-2.22.0 lib/specinfra/command/windows/base.rb
specinfra-2.21.1 lib/specinfra/command/windows/base.rb
specinfra-2.21.0 lib/specinfra/command/windows/base.rb