Class: Kanrisuru::Core::User::Parser::Getent

Inherits:
Object
  • Object
show all
Defined in:
lib/kanrisuru/core/user/parsers/getent.rb

Class Method Summary collapse

Class Method Details

.parse(command) ⇒ Object



8
9
10
11
12
# File 'lib/kanrisuru/core/user/parsers/getent.rb', line 8

def self.parse(command)
  command.to_s.split.map do |value|
    Kanrisuru::Core::User::FilePath.new(value)
  end
end