Class: Muwu::ManifestTask::DocumentJs

Inherits:
Object
  • Object
show all
Defined in:
lib/muwu/manifest_task/document_js.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#destinationObject

Returns the value of attribute destination.



6
7
8
# File 'lib/muwu/manifest_task/document_js.rb', line 6

def destination
  @destination
end

#librariesObject

Returns the value of attribute libraries.



6
7
8
# File 'lib/muwu/manifest_task/document_js.rb', line 6

def libraries
  @libraries
end

#projectObject

Returns the value of attribute project.



6
7
8
# File 'lib/muwu/manifest_task/document_js.rb', line 6

def project
  @project
end

Instance Method Details

#filenameObject



13
14
15
# File 'lib/muwu/manifest_task/document_js.rb', line 13

def filename
  @destination.output_filename
end

#inspectObject



18
19
20
# File 'lib/muwu/manifest_task/document_js.rb', line 18

def inspect
  ["#{self.to_s}", "{", inspect_instance_variables, "}"].join(' ')
end

#inspect_instance_variablesObject



23
24
25
# File 'lib/muwu/manifest_task/document_js.rb', line 23

def inspect_instance_variables
  self.instance_variables.map { |v| "#{v}=#<#{instance_variable_get(v).class}>" }.join(", ")
end