Module: Dhall::Parser::UrlPath
- Defined in:
- lib/dhall/parser.rb
Instance Method Summary collapse
Instance Method Details
#value ⇒ Object
688 689 690 691 692 693 694 695 696 697 |
# File 'lib/dhall/parser.rb', line 688 def value "/" + matches.map { |pc| if pc.captures.key?(:path_component) # We escape here because ruby stdlib URI just stores path unparsed pc.value(Util.method(:uri_escape)) else pc.string[1..-1] end }.join("/") end |