Class: Sprout::MXMLCHelper

Inherits:
Object
  • Object
show all
Defined in:
lib/sprout/tasks/mxmlc_helper.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args, &block) ⇒ MXMLCHelper

Returns a new instance of MXMLCHelper.



8
9
10
11
# File 'lib/sprout/tasks/mxmlc_helper.rb', line 8

def initialize(args, &block)
  resolve_task_args(args)
  @model = get_model args
end

Instance Attribute Details

#modelObject (readonly)

Returns the value of attribute model.



4
5
6
# File 'lib/sprout/tasks/mxmlc_helper.rb', line 4

def model
  @model
end

#use_fcshObject

Returns the value of attribute use_fcsh.



6
7
8
# File 'lib/sprout/tasks/mxmlc_helper.rb', line 6

def use_fcsh
  @use_fcsh
end

Instance Method Details

#inputObject



17
18
19
# File 'lib/sprout/tasks/mxmlc_helper.rb', line 17

def input
  return @input ||= create_input
end

#outputObject



13
14
15
# File 'lib/sprout/tasks/mxmlc_helper.rb', line 13

def output
  return @output ||= create_output
end

#prerequisitesObject



25
26
27
# File 'lib/sprout/tasks/mxmlc_helper.rb', line 25

def prerequisites
  return @prerequisites ||= []
end

#task_nameObject



21
22
23
# File 'lib/sprout/tasks/mxmlc_helper.rb', line 21

def task_name
  return @task_name
end