Class: Unparser::CLI::Target::String

Inherits:
Object
  • Object
show all
Defined in:
lib/unparser/cli.rb

Overview

String target

Instance Method Summary collapse

Instance Method Details

#literal_validationValidation

Literal for this target

Returns:



46
47
48
# File 'lib/unparser/cli.rb', line 46

def literal_validation
  Validation::Literal.from_string(path)
end

#validationValidation

Validation for this target

Returns:



39
40
41
# File 'lib/unparser/cli.rb', line 39

def validation
  Validation.from_string(string)
end