Class: ServiceWorker::Route::RouteMatch

Inherits:
Struct
  • Object
show all
Defined in:
lib/serviceworker/route.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#asset_nameObject

Returns the value of attribute asset_name

Returns:

  • (Object)

    the current value of asset_name



6
7
8
# File 'lib/serviceworker/route.rb', line 6

def asset_name
  @asset_name
end

#headersObject

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



6
7
8
# File 'lib/serviceworker/route.rb', line 6

def headers
  @headers
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



6
7
8
# File 'lib/serviceworker/route.rb', line 6

def path
  @path
end

Instance Method Details

#to_sObject



7
8
9
# File 'lib/serviceworker/route.rb', line 7

def to_s
  asset_name
end