Sha256: a21361b1c83b8f6bef2bb4ec3b4c1ddab4a2c0df4659f0b728043fadf98d036d
Contents?: true
Size: 476 Bytes
Versions: 2
Compression:
Stored size: 476 Bytes
Contents
module BPM class PluginContext attr_reader :moduleId attr_reader :package def initialize(pkg, module_id=nil) @generating_asset = BPM::GeneratedAsset.generating_asset @package = pkg.as_json @moduleId = module_id end def minify(body) @generating_asset ? @generating_asset.minify_body(body) : body end def settings @generating_asset ? @generating_asset.build_settings : {} end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bpm-1.0.0.beta.8 | lib/bpm/pipeline/plugin_context.rb |
bpm-1.0.0.beta.6 | lib/bpm/pipeline/plugin_context.rb |