Class: Xmvc::CssBuilder

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

Instance Method Summary collapse

Methods inherited from Builder

#all, #setup

Instance Method Details

#descriptionObject



22
23
24
# File 'lib/xmvc/builders/css_builder.rb', line 22

def description
  "Your #{name}"
end

#directory_nameObject



30
31
32
# File 'lib/xmvc/builders/css_builder.rb', line 30

def directory_name
  "public/stylesheets/"
end

#file_listObject

def self.instances(args = [])

[ExtMVC::CssBuilder.new]

end



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

def file_list
  # build to production environment
  #environment = ExtMVC.mvc_development_environment

  #return ExtJS::MVC.css_files_for(environment)
end

#messageObject



18
19
20
# File 'lib/xmvc/builders/css_builder.rb', line 18

def message
  "Built #{name}"
end

#nameObject



14
15
16
# File 'lib/xmvc/builders/css_builder.rb', line 14

def name
  "Ext MVC Application Stylesheets"
end

#output_filenameObject



26
27
28
# File 'lib/xmvc/builders/css_builder.rb', line 26

def output_filename
  "public/stylesheets/application-all.css"
end