Module: Cup

Defined in:
lib/cup.rb,
lib/cup/builder.rb,
lib/cup/cupfile.rb,
lib/cup/version.rb,
lib/cup/directory.rb,
lib/cup/noop_shell.rb,
lib/cup/server/app.rb,
lib/cup/command_line.rb,
lib/cup/server/middleware.rb,
lib/cup/server/view_scope.rb,
lib/cup/server/visual_specs.rb

Defined Under Namespace

Modules: NoopShell, Server Classes: Builder, CommandLine, Cupfile, Directory

Constant Summary collapse

VERSION =
'0.0.8'

Class Method Summary collapse

Class Method Details

.build(*params) ⇒ Object



29
30
31
# File 'lib/cup.rb', line 29

def build *params
  Builder.new(directory).build *params
end

.build!(*params) ⇒ Object



25
26
27
# File 'lib/cup.rb', line 25

def build! *params
  Builder.new(directory).build! *params
end

.concatenate(*params) ⇒ Object



37
38
39
# File 'lib/cup.rb', line 37

def concatenate *params
  Builder.new(directory).concatenate *params
end

.concatenate!(*params) ⇒ Object



33
34
35
# File 'lib/cup.rb', line 33

def concatenate! *params
  Builder.new(directory).concatenate! *params
end

.concatenated(*params) ⇒ Object



17
18
19
# File 'lib/cup.rb', line 17

def concatenated *params
  directory.concatenated *params
end

.cup_name(*params) ⇒ Object



13
14
15
# File 'lib/cup.rb', line 13

def cup_name *params
  directory.cupfile.name *params
end

.define(&block) ⇒ Object



49
50
51
# File 'lib/cup.rb', line 49

def define &block
  block
end

.minified(*params) ⇒ Object



21
22
23
# File 'lib/cup.rb', line 21

def minified *params
  directory.minified *params
end

.minify(*params) ⇒ Object



45
46
47
# File 'lib/cup.rb', line 45

def minify *params
  Builder.new(directory).minify *params
end

.minify!(*params) ⇒ Object



41
42
43
# File 'lib/cup.rb', line 41

def minify! *params
  Builder.new(directory).minify! *params
end

.version(*params) ⇒ Object



9
10
11
# File 'lib/cup.rb', line 9

def version *params
  directory.cupfile.version *params
end