Sha256: 1930d9888d09186e479c3667da819cb77ab5335dca9607be090c7b19a6b87f69
Contents?: true
Size: 566 Bytes
Versions: 1
Compression:
Stored size: 566 Bytes
Contents
require_relative "window" require_relative "view/javascript" require_relative "view/erb" require_relative "view/resources" module WebConsole class View < Window # Properties def view_id if !@view_id if ENV.has_key?(SPLIT_ID_KEY) @view_id = ENV[SPLIT_ID_KEY] else @view_id = split_id end end return @view_id end private # Web def arguments_with_target(arguments) arguments = super(arguments) arguments.push(view_id) return arguments end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
webconsole-0.1.13 | lib/webconsole/lib/view.rb |