Class: CryptReboot::Luks::Dumper::LuksV1Parser
- Inherits:
-
Object
- Object
- CryptReboot::Luks::Dumper::LuksV1Parser
- Defined in:
- lib/crypt_reboot/luks/dumper/luks_v1_parser.rb
Overview
Parse LUKS1
Constant Summary collapse
- ParsingError =
Class.new StandardError
Instance Method Summary collapse
Instance Method Details
#call(lines) ⇒ Object
10 11 12 13 |
# File 'lib/crypt_reboot/luks/dumper/luks_v1_parser.rb', line 10 def call(lines) data = parse_lines(lines) instantiate(data.to_h) end |