class PoiseApplicationJavascript::Resources::JavascriptExecute::Provider
The default provider for ‘application_javascript_execute`.
@see Resource
@provides application_javascript_execute
Private Instance Methods
environment()
click to toggle source
Override environment to add the application envivonrment instead.
@return [Hash]
Calls superclass method
# File lib/poise_application_javascript/resources/javascript_execute.rb, line 75 def environment super.tap do |environment| # Don't use the app_state_environment_javascript because we already have # those values in place. environment.update(new_resource.app_state_environment) # Re-apply the resource environment for correct ordering. environment.update(new_resource.environment) if new_resource.environment end end