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/node_asset.rb,
lib/isomorfeus/asset_manager/ruby_import.rb,
lib/isomorfeus/asset_manager/view_helper.rb,
lib/isomorfeus/asset_manager/browser_asset.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

Class Method Summary collapse

Class Attribute Details

.app_rootObject

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_channelObject

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_dirsObject

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_tmpdirObject

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

.assetsObject

Returns the value of attribute assets.



16
17
18
# File 'lib/isomorfeus/asset_manager/config.rb', line 16

def assets
  @assets
end

.assets_pathObject

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

.envObject

Returns the value of attribute env.



7
8
9
# File 'lib/isomorfeus/asset_manager/config.rb', line 7

def env
  @env
end

.hmr_listenerObject

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

.hmr_websocket_pathObject

Returns the value of attribute hmr_websocket_path.



11
12
13
# File 'lib/isomorfeus/asset_manager/config.rb', line 11

def hmr_websocket_path
  @hmr_websocket_path
end

.node_pathsObject

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

.rootObject

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_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



23
24
25
# File 'lib/isomorfeus/asset_manager/config.rb', line 23

def add_web_ruby_import(*args)
  Isomorfeus.assets['web.js'].add_ruby_import(*args)
end

.development?Boolean

Returns:

  • (Boolean)


35
36
37
# File 'lib/isomorfeus/asset_manager/config.rb', line 35

def development?
  @development
end

.production?Boolean

Returns:

  • (Boolean)


39
40
41
# File 'lib/isomorfeus/asset_manager/config.rb', line 39

def production?
  @production
end

.server_reloaded!Object



51
52
53
# File 'lib/isomorfeus/asset_manager/config.rb', line 51

def server_reloaded!
  @server_requires_reload = false
end

.server_requires_reload!Object



55
56
57
# File 'lib/isomorfeus/asset_manager/config.rb', line 55

def server_requires_reload!
  @server_requires_reload = true
end

.server_requires_reload?Boolean

Returns:

  • (Boolean)


47
48
49
# File 'lib/isomorfeus/asset_manager/config.rb', line 47

def server_requires_reload?
  @server_requires_reload
end

.test?Boolean

Returns:

  • (Boolean)


43
44
45
# File 'lib/isomorfeus/asset_manager/config.rb', line 43

def test?
  @test
end