Module: Pacer::Routes::VariableRouteModule

Defined in:
lib/pacer/route/mixin/variable_route_module.rb

Overview

Adds support to a route to store a variable inline during processing. See Pacer::Routes::RouteOperations#as

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#variable_nameObject

Returns the value of attribute variable_name



6
7
8
# File 'lib/pacer/route/mixin/variable_route_module.rb', line 6

def variable_name
  @variable_name
end

Instance Method Details

#root?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/pacer/route/mixin/variable_route_module.rb', line 8

def root?
  false
end