class Unparser::CLI::Target::String

String target

Public Instance Methods

literal_validation() click to toggle source

Literal for this target

@return [Validation]

# File lib/unparser/cli.rb, line 46
def literal_validation
  Validation::Literal.from_string(path)
end
validation() click to toggle source

Validation for this target

@return [Validation]

# File lib/unparser/cli.rb, line 39
def validation
  Validation.from_string(string)
end