Module: Murlsh::URIGetPathQuery

Defined in:
lib/murlsh/uri_get_path_query.rb

Overview

URI mixin that adds method to get path and query string.

Instance Method Summary collapse

Instance Method Details

#get_path_queryObject

Return the path and query string.



7
# File 'lib/murlsh/uri_get_path_query.rb', line 7

def get_path_query; path + (query ? "?#{query}" : ''); end