Class: Mobox::RenderScope

Inherits:
Object
  • Object
show all
Includes:
Helpers
Defined in:
lib/mobox/render_scope.rb

Instance Method Summary collapse

Methods included from Helpers

#config

Constructor Details

#initialize(source_root) ⇒ RenderScope

Returns a new instance of RenderScope.



3
4
5
# File 'lib/mobox/render_scope.rb', line 3

def initialize(source_root)
  RenderScope.const_set :WWW_SOURCE_ROOT, source_root
end