Module: ServerComponent
- Defined in:
- lib/server_component.rb,
lib/server_component/base.rb,
lib/server_component/engine.rb,
lib/server_component/version.rb,
lib/server_component/component.rb,
lib/server_component/component_router.rb,
lib/generators/server_component/install_generator.rb,
lib/generators/server_component/controller_generator.rb,
app/controllers/server_component/component_routers_controller.rb
Defined Under Namespace
Modules: Component, Generators
Classes: Base, ComponentRouter, ComponentRoutersController, Engine, FetcherConfigurator, NamespaceNotFound
Constant Summary
collapse
- VERSION =
'0.4.0'
- @@parent_controller =
'ApplicationController'
- @@mappings =
{}
- @@context_script =
''
Class Method Summary
collapse
Class Method Details
.add_custom_chain(name, function_name) ⇒ Object
27
28
29
|
# File 'lib/server_component.rb', line 27
def self.add_custom_chain(name, function_name)
Jsrb::ExprChain.add_custom_chain name, function_name
end
|
.setup {|_self| ... } ⇒ Object
17
18
19
|
# File 'lib/server_component.rb', line 17
def self.setup
yield self
end
|