Class: RequirejsOptimizer::Step::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/requirejs_optimizer/step/base.rb

Direct Known Subclasses

Clean, Compress, Digestify, Finalize, Manifest, Optimize, Prepare

Instance Method Summary collapse

Instance Method Details

#performObject

Raises:

  • (NotImplementedError)


7
8
9
# File 'lib/requirejs_optimizer/step/base.rb', line 7

def perform(*)
  raise NotImplementedError
end

#to_procObject



11
12
13
# File 'lib/requirejs_optimizer/step/base.rb', line 11

def to_proc
  self.method(:perform).to_proc
end