Class: Creng::DaemonJS

Inherits:
FileGenerator show all
Defined in:
lib/creng/files/daemonjs.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from FileGenerator

#fetchImages, #fetchLibs, #generate, #generateHTML, #generateJS, #generateManifest, generateWebrequest, getAccessibleResources

Constructor Details

#initializeDaemonJS

Returns a new instance of DaemonJS.



10
11
12
13
# File 'lib/creng/files/daemonjs.rb', line 10

def initialize
	@name = 'daemon.js'
	@path = 'js'
end

Instance Attribute Details

#contentsObject (readonly)

Returns the value of attribute contents.



8
9
10
# File 'lib/creng/files/daemonjs.rb', line 8

def contents
  @contents
end

#nameObject (readonly)

Returns the value of attribute name.



6
7
8
# File 'lib/creng/files/daemonjs.rb', line 6

def name
  @name
end

#pathObject (readonly)

Returns the value of attribute path.



7
8
9
# File 'lib/creng/files/daemonjs.rb', line 7

def path
  @path
end

Instance Method Details

#createObject



15
16
17
# File 'lib/creng/files/daemonjs.rb', line 15

def create
	puts "called create of #{@filename}"
end