Class: Opal::Environment Deprecated
- Defined in:
- opal/lib/opal/sprockets/environment.rb
Overview
Deprecated.
Instance Method Summary collapse
-
#initialize(*args) ⇒ Environment
constructor
A new instance of Environment.
- #use_gem(gem_name) ⇒ Object
Constructor Details
#initialize(*args) ⇒ Environment
Returns a new instance of Environment
13 14 15 16 17 18 |
# File 'opal/lib/opal/sprockets/environment.rb', line 13 def initialize *args warn "WARNING: Opal::Sprockets::Environment is deprecated. "\ "Please use Opal::Server directly or append Opal.paths to the environment manually." super append_opal_paths end |