Class: ExtJS::MVC::AppBuilder

Inherits:
Builder
  • Object
show all
Defined in:
lib/xmvc/builders/app_builder.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.instances(args = []) ⇒ Object



4
5
6
# File 'lib/xmvc/builders/app_builder.rb', line 4

def self.instances(args = [])
  [ExtMVC::AppBuilder.new]
end

Instance Method Details

#descriptionObject



23
24
25
# File 'lib/xmvc/builders/app_builder.rb', line 23

def description
  "Your #{name}"
end

#file_listObject



8
9
10
11
12
13
# File 'lib/xmvc/builders/app_builder.rb', line 8

def file_list
  # build to production environment
  environment = ExtMVC.mvc_production_environment
    
  return ExtMVC.application_files_for(environment)
end

#messageObject



19
20
21
# File 'lib/xmvc/builders/app_builder.rb', line 19

def message
  "Built #{name}"
end

#nameObject



15
16
17
# File 'lib/xmvc/builders/app_builder.rb', line 15

def name
  "Ext MVC Application"
end

#output_filenameObject



27
28
29
# File 'lib/xmvc/builders/app_builder.rb', line 27

def output_filename
  "public/application-all.js"
end

#should_minifyObject



31
32
33
# File 'lib/xmvc/builders/app_builder.rb', line 31

def should_minify
  true
end