Sha256: effb236d0c8287709450472390c8d0d5a2a8d1691ac500fa2a2d738a987b6601
Contents?: true
Size: 943 Bytes
Versions: 5
Compression:
Stored size: 943 Bytes
Contents
module Sprout # :nodoc: # The MXMLCDebug helper wraps up the flashplayer and mxmlc tasks by # using either a Singleton or provided ProjectModel instance. # # The simple case that uses a Singleton ProjectModel: # debug :debug # # Using a ProjectModel instance: # project_model :model # # debug :debug => :model # # Configuring the proxied Sprout::MXMLCTask # debug :debug do |t| # t.link_report = 'LinkReport.rpt' # end # class MXMLCDebug < MXMLCHelper def initialize(args, &block) super outer_task = define_outer_task mxmlc output do |t| configure_mxmlc t configure_mxmlc_application t yield t if block_given? end define_player outer_task.prerequisites << output outer_task.prerequisites << player_task_name end end end def debug(args, &block) return Sprout::MXMLCDebug.new(args, &block) end
Version data entries
5 entries across 5 versions & 1 rubygems