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.35.0 lib/specinfra/command/windows/base.rb
specinfra-2.34.9 lib/specinfra/command/windows/base.rb
specinfra-2.34.8 lib/specinfra/command/windows/base.rb
specinfra-2.34.7 lib/specinfra/command/windows/base.rb
specinfra-2.34.6 lib/specinfra/command/windows/base.rb
specinfra-2.34.5 lib/specinfra/command/windows/base.rb
specinfra-2.34.4 lib/specinfra/command/windows/base.rb
specinfra-2.34.3 lib/specinfra/command/windows/base.rb
specinfra-2.34.2 lib/specinfra/command/windows/base.rb
specinfra-2.34.1 lib/specinfra/command/windows/base.rb
specinfra-2.34.0 lib/specinfra/command/windows/base.rb
specinfra-2.33.1 lib/specinfra/command/windows/base.rb
specinfra-2.33.0 lib/specinfra/command/windows/base.rb
specinfra-2.32.0 lib/specinfra/command/windows/base.rb
specinfra-2.31.1 lib/specinfra/command/windows/base.rb
specinfra-2.31.0 lib/specinfra/command/windows/base.rb
specinfra-2.30.4 lib/specinfra/command/windows/base.rb
specinfra-2.30.3 lib/specinfra/command/windows/base.rb
specinfra-2.30.2 lib/specinfra/command/windows/base.rb
specinfra-2.30.1 lib/specinfra/command/windows/base.rb