Class: Hecks::Bluebook::Expression::Resolver::ArrayLiteral
- Inherits:
-
Struct
- Object
- Struct
- Hecks::Bluebook::Expression::Resolver::ArrayLiteral
- Defined in:
- lib/hecks/bluebook/expression/resolver.rb
Overview
["active", "suspended"] — a literal set, the haystack half of
an .include?. Vocabulary::IncludeHaystack has always ADMITTED
Array (and Evaluator#includes? has always had a when Array
arm), but nothing could produce one: there was no array-literal
node, so ["a", "b"].include?(x) fell through to Lookup and
refused with cannot resolve "[\"a\", \"b\"]". A declared
capability with no way to spell it.
Instance Attribute Summary collapse
-
#elements ⇒ Object
Returns the value of attribute elements.
Instance Attribute Details
#elements ⇒ Object
Returns the value of attribute elements
41 42 43 |
# File 'lib/hecks/bluebook/expression/resolver.rb', line 41 def elements @elements end |