Module: Isomorfeus
- Defined in:
- lib/isomorfeus/asset_manager.rb,
lib/isomorfeus/asset_manager/asset.rb,
lib/isomorfeus/asset_manager/config.rb,
lib/isomorfeus/asset_manager/version.rb,
lib/isomorfeus/asset_manager/js_import.rb,
lib/isomorfeus/asset_manager/portfolio.rb,
lib/isomorfeus/asset_manager/ruby_import.rb,
lib/isomorfeus/asset_manager/view_helper.rb,
lib/isomorfeus/asset_manager/rack_middleware.rb,
lib/isomorfeus/asset_manager/server_socket_processor.rb
Defined Under Namespace
Classes: AssetManager
Class Attribute Summary collapse
-
.app_root ⇒ Object
Returns the value of attribute app_root.
-
.asset_manager_hmr_channel ⇒ Object
Returns the value of attribute asset_manager_hmr_channel.
-
.asset_manager_hmr_dirs ⇒ Object
Returns the value of attribute asset_manager_hmr_dirs.
-
.asset_manager_tmpdir ⇒ Object
Returns the value of attribute asset_manager_tmpdir.
-
.assets ⇒ Object
Returns the value of attribute assets.
-
.assets_path ⇒ Object
Returns the value of attribute assets_path.
-
.assets_websocket_path ⇒ Object
Returns the value of attribute assets_websocket_path.
-
.env ⇒ Object
Returns the value of attribute env.
-
.hmr_listener ⇒ Object
Returns the value of attribute hmr_listener.
-
.node_paths ⇒ Object
Returns the value of attribute node_paths.
-
.root ⇒ Object
Returns the value of attribute root.
Class Method Summary collapse
- .add_common_js_import(*args) ⇒ Object
- .add_common_ruby_import(*args) ⇒ Object
- .add_ssr_js_import(*args) ⇒ Object
- .add_ssr_ruby_import(*args) ⇒ Object
- .add_web_js_import(*args) ⇒ Object
- .add_web_ruby_import(*args) ⇒ Object
- .development? ⇒ Boolean
- .production? ⇒ Boolean
- .test? ⇒ Boolean
Class Attribute Details
.app_root ⇒ Object
Returns the value of attribute app_root.
9 10 11 |
# File 'lib/isomorfeus/asset_manager/config.rb', line 9 def app_root @app_root end |
.asset_manager_hmr_channel ⇒ Object
Returns the value of attribute asset_manager_hmr_channel.
13 14 15 |
# File 'lib/isomorfeus/asset_manager/config.rb', line 13 def asset_manager_hmr_channel @asset_manager_hmr_channel end |
.asset_manager_hmr_dirs ⇒ Object
Returns the value of attribute asset_manager_hmr_dirs.
14 15 16 |
# File 'lib/isomorfeus/asset_manager/config.rb', line 14 def asset_manager_hmr_dirs @asset_manager_hmr_dirs end |
.asset_manager_tmpdir ⇒ Object
Returns the value of attribute asset_manager_tmpdir.
12 13 14 |
# File 'lib/isomorfeus/asset_manager/config.rb', line 12 def asset_manager_tmpdir @asset_manager_tmpdir end |
.assets ⇒ Object
Returns the value of attribute assets.
16 17 18 |
# File 'lib/isomorfeus/asset_manager/config.rb', line 16 def assets @assets end |
.assets_path ⇒ Object
Returns the value of attribute assets_path.
10 11 12 |
# File 'lib/isomorfeus/asset_manager/config.rb', line 10 def assets_path @assets_path end |
.assets_websocket_path ⇒ Object
Returns the value of attribute assets_websocket_path.
11 12 13 |
# File 'lib/isomorfeus/asset_manager/config.rb', line 11 def assets_websocket_path @assets_websocket_path end |
.env ⇒ Object
Returns the value of attribute env.
7 8 9 |
# File 'lib/isomorfeus/asset_manager/config.rb', line 7 def env @env end |
.hmr_listener ⇒ Object
Returns the value of attribute hmr_listener.
17 18 19 |
# File 'lib/isomorfeus/asset_manager/config.rb', line 17 def hmr_listener @hmr_listener end |
.node_paths ⇒ Object
Returns the value of attribute node_paths.
15 16 17 |
# File 'lib/isomorfeus/asset_manager/config.rb', line 15 def node_paths @node_paths end |
.root ⇒ Object
Returns the value of attribute root.
8 9 10 |
# File 'lib/isomorfeus/asset_manager/config.rb', line 8 def root @root end |
Class Method Details
.add_common_js_import(*args) ⇒ Object
27 28 29 30 |
# File 'lib/isomorfeus/asset_manager/config.rb', line 27 def add_common_js_import(*args) Isomorfeus.assets['web.js'].add_js_import(*args) Isomorfeus.assets['ssr.js'].add_js_import(*args) end |
.add_common_ruby_import(*args) ⇒ Object
40 41 42 43 |
# File 'lib/isomorfeus/asset_manager/config.rb', line 40 def add_common_ruby_import(*args) Isomorfeus.assets['web.js'].add_ruby_import(*args) Isomorfeus.assets['ssr.js'].add_ruby_import(*args) end |
.add_ssr_js_import(*args) ⇒ Object
23 24 25 |
# File 'lib/isomorfeus/asset_manager/config.rb', line 23 def add_ssr_js_import(*args) Isomorfeus.assets['ssr.js'].add_js_import(*args) end |
.add_ssr_ruby_import(*args) ⇒ Object
36 37 38 |
# File 'lib/isomorfeus/asset_manager/config.rb', line 36 def add_ssr_ruby_import(*args) Isomorfeus.assets['ssr.js'].add_ruby_import(*args) end |
.add_web_js_import(*args) ⇒ Object
19 20 21 |
# File 'lib/isomorfeus/asset_manager/config.rb', line 19 def add_web_js_import(*args) Isomorfeus.assets['web.js'].add_js_import(*args) end |
.add_web_ruby_import(*args) ⇒ Object
32 33 34 |
# File 'lib/isomorfeus/asset_manager/config.rb', line 32 def add_web_ruby_import(*args) Isomorfeus.assets['web.js'].add_ruby_import(*args) end |
.development? ⇒ Boolean
53 54 55 |
# File 'lib/isomorfeus/asset_manager/config.rb', line 53 def development? @development end |
.production? ⇒ Boolean
57 58 59 |
# File 'lib/isomorfeus/asset_manager/config.rb', line 57 def production? @production end |
.test? ⇒ Boolean
61 62 63 |
# File 'lib/isomorfeus/asset_manager/config.rb', line 61 def test? @test end |