Class: Pacer::Routes::ContextRoute

Inherits:
Object
  • Object
show all
Includes:
Core::Route
Defined in:
lib/pacer/route/context_route.rb

Instance Attribute Summary

Attributes included from Core::Route

#graph, #hide_elements, #pipe_args, #pipe_class, #route_name

Instance Method Summary (collapse)

Methods included from Core::Route

#-, #==, #add_extension, #add_extensions, #each_context, #each_element, #each_object, #each_path, #empty?, #except, #extensions, #extensions=, #from_graph?, #inspect, #only, #route, #set_pipe_source, #vars

Constructor Details

- (ContextRoute) initialize(back)

Returns a new instance of ContextRoute



5
6
7
# File 'lib/pacer/route/context_route.rb', line 5

def initialize(back)
  @back = back
end

Instance Method Details

- (Boolean) root?

Returns:

  • (Boolean)


11
12
13
# File 'lib/pacer/route/context_route.rb', line 11

def root?
  false
end