Class: React::Router::DSL::Index

Inherits:
Route
  • Object
show all
Defined in:
lib/react/router/dsl/index.rb

Instance Method Summary collapse

Methods inherited from Route

#get_child_routes_wrapper, #get_component_wrapper, #get_components_wrapper, #get_index_route_wrapper, #initialize, #mounts, #on, #on_change_wrapper, #on_enter_wrapper, #on_leave_wrapper, #to_json

Constructor Details

This class inherits a constructor from React::Router::DSL::Route

Instance Method Details

#save_elementObject



5
6
7
# File 'lib/react/router/dsl/index.rb', line 5

def save_element
  DSL.set_index self
end