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.0.0.beta51 lib/specinfra/command/windows/base.rb
specinfra-2.0.0.beta50 lib/specinfra/command/windows/base.rb
specinfra-2.0.0.beta49 lib/specinfra/command/windows/base.rb
specinfra-2.0.0.beta48 lib/specinfra/command/windows/base.rb
specinfra-2.0.0.beta47 lib/specinfra/command/windows/base.rb
specinfra-2.0.0.beta46 lib/specinfra/command/windows/base.rb
specinfra-2.0.0.beta45 lib/specinfra/command/windows/base.rb
specinfra-2.0.0.beta44 lib/specinfra/command/windows/base.rb
specinfra-2.0.0.beta43 lib/specinfra/command/windows/base.rb
specinfra-2.0.0.beta42 lib/specinfra/command/windows/base.rb
specinfra-2.0.0.beta41 lib/specinfra/command/windows/base.rb
specinfra-2.0.0.beta40 lib/specinfra/command/windows/base.rb
specinfra-2.0.0.beta39 lib/specinfra/command/windows/base.rb
specinfra-2.0.0.beta38 lib/specinfra/command/windows/base.rb
specinfra-2.0.0.beta37 lib/specinfra/command/windows/base.rb
specinfra-2.0.0.beta36 lib/specinfra/command/windows/base.rb
specinfra-2.0.0.beta35 lib/specinfra/command/windows/base.rb
specinfra-2.0.0.beta34 lib/specinfra/command/windows/base.rb
specinfra-2.0.0.beta33 lib/specinfra/command/windows/base.rb
specinfra-2.0.0.beta32 lib/specinfra/command/windows/base.rb