Class: Fear::Extractor::Grammar::DoubleQuotedStringLiteral Private

Inherits:
StringLiteral
  • Object
show all
Defined in:
lib/fear/extractor/grammar.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#to_matcherObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



86
87
88
# File 'lib/fear/extractor/grammar.rb', line 86

def to_matcher
  ValueMatcher.new(value: value, node: self)
end

#valueObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



90
91
92
# File 'lib/fear/extractor/grammar.rb', line 90

def value
  YAML.safe_load(%(---\n"#{super}"\n))
end