Class: Ext::MVC::MVCBuilder

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.instances(args = []) ⇒ Object



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

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

Instance Method Details

#descriptionObject



28
29
30
# File 'lib/xmvc/builders/mvc_builder.rb', line 28

def description
  "The #{name} framework (#{directory_name})"
end

#directory_nameObject



12
13
14
# File 'lib/xmvc/builders/mvc_builder.rb', line 12

def directory_name
  "vendor/mvc"
end

#messageObject



24
25
26
# File 'lib/xmvc/builders/mvc_builder.rb', line 24

def message
  "Built #{name}"
end

#nameObject



20
21
22
# File 'lib/xmvc/builders/mvc_builder.rb', line 20

def name
  "Ext MVC"
end

#output_filenameObject



8
9
10
# File 'lib/xmvc/builders/mvc_builder.rb', line 8

def output_filename
  "#{directory_name}/ext-mvc-all.js"
end

#should_minifyObject



16
17
18
# File 'lib/xmvc/builders/mvc_builder.rb', line 16

def should_minify
  true
end