Module: Dhall::Parser::Selector
- Defined in:
- lib/dhall/parser.rb
Instance Method Summary collapse
Instance Method Details
#value ⇒ Object
166 167 168 169 170 171 172 173 174 |
# File 'lib/dhall/parser.rb', line 166 def value if captures.key?(:type_selector) capture(:expression).value elsif captures.key?(:labels) captures(:any_label).map(&:value) else string end end |