Sha256: c333eed470cbc4a4da8648dcd62f846c28ccdca543e9a7649ec1115800d31268

Contents?: true

Size: 232 Bytes

Versions: 9

Compression:

Stored size: 232 Bytes

Contents

class Specinfra::Command::Windows::Base
  def self.create
    self.new
  end

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

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
specinfra-2.0.0.beta15 lib/specinfra/command/windows/base.rb
specinfra-2.0.0.beta14 lib/specinfra/command/windows/base.rb
specinfra-2.0.0.beta13 lib/specinfra/command/windows/base.rb
specinfra-2.0.0.beta12 lib/specinfra/command/windows/base.rb
specinfra-2.0.0.beta11 lib/specinfra/command/windows/base.rb
specinfra-2.0.0.beta10 lib/specinfra/command/windows/base.rb
specinfra-2.0.0.beta9 lib/specinfra/command/windows/base.rb
specinfra-2.0.0.beta8 lib/specinfra/command/windows/base.rb
specinfra-2.0.0.beta7 lib/specinfra/command/windows/base.rb