Class: ExtJS::MVC::AppBuilder
- Defined in:
- lib/xmvc/builders/app_builder.rb
Class Method Summary collapse
Instance Method Summary collapse
- #description ⇒ Object
- #file_list ⇒ Object
- #message ⇒ Object
- #name ⇒ Object
- #output_filename ⇒ Object
- #should_minify ⇒ Object
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
#description ⇒ Object
23 24 25 |
# File 'lib/xmvc/builders/app_builder.rb', line 23 def description "Your #{name}" end |
#file_list ⇒ Object
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 |
#message ⇒ Object
19 20 21 |
# File 'lib/xmvc/builders/app_builder.rb', line 19 def "Built #{name}" end |
#name ⇒ Object
15 16 17 |
# File 'lib/xmvc/builders/app_builder.rb', line 15 def name "Ext MVC Application" end |
#output_filename ⇒ Object
27 28 29 |
# File 'lib/xmvc/builders/app_builder.rb', line 27 def output_filename "public/application-all.js" end |
#should_minify ⇒ Object
31 32 33 |
# File 'lib/xmvc/builders/app_builder.rb', line 31 def should_minify true end |