Class: VagrantPlugins::DevCommands::Registry::Validator

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant/devcommands/registry/validator.rb

Overview

Registry entry validator

Instance Method Summary collapse

Constructor Details

#initialize(messager) ⇒ Validator

Returns a new instance of Validator.



8
9
10
# File 'lib/vagrant/devcommands/registry/validator.rb', line 8

def initialize(messager)
  @messager = messager
end

Instance Method Details

#validate_entries(registry) ⇒ Object



12
13
14
15
# File 'lib/vagrant/devcommands/registry/validator.rb', line 12

def validate_entries(registry)
  validate_chains(registry)
  validate_command_aliases(registry)
end