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.11.4 lib/specinfra/command/windows/base.rb
specinfra-2.11.3 lib/specinfra/command/windows/base.rb
specinfra-2.11.2 lib/specinfra/command/windows/base.rb
specinfra-2.11.1 lib/specinfra/command/windows/base.rb
specinfra-2.11.0 lib/specinfra/command/windows/base.rb
specinfra-2.10.4 lib/specinfra/command/windows/base.rb
specinfra-2.10.3 lib/specinfra/command/windows/base.rb
specinfra-2.10.2 lib/specinfra/command/windows/base.rb
specinfra-2.10.1 lib/specinfra/command/windows/base.rb
specinfra-2.10.0 lib/specinfra/command/windows/base.rb
specinfra-2.9.3 lib/specinfra/command/windows/base.rb
specinfra-2.9.2 lib/specinfra/command/windows/base.rb
specinfra-2.9.1 lib/specinfra/command/windows/base.rb
specinfra-2.9.0 lib/specinfra/command/windows/base.rb
specinfra-2.8.0 lib/specinfra/command/windows/base.rb
specinfra-2.7.0 lib/specinfra/command/windows/base.rb
specinfra-2.6.0 lib/specinfra/command/windows/base.rb
specinfra-2.5.0 lib/specinfra/command/windows/base.rb
specinfra-2.4.5 lib/specinfra/command/windows/base.rb
specinfra-2.4.4 lib/specinfra/command/windows/base.rb