Class: TinyMCE::Rails::AssetInstaller::Copy

Inherits:
Object
  • Object
show all
Defined in:
lib/tinymce/rails/asset_installer/copy.rb

Direct Known Subclasses

CopyNoPreserve

Instance Method Summary collapse

Constructor Details

#initialize(installer) ⇒ Copy

Returns a new instance of Copy.


7
8
9
# File 'lib/tinymce/rails/asset_installer/copy.rb', line 7

def initialize(installer)
  @installer = installer
end

Instance Method Details

#callObject


11
12
13
14
15
16
17
# File 'lib/tinymce/rails/asset_installer/copy.rb', line 11

def call
  cleanup_assets
  copy_assets
  append_to_manifest

  manifest.write
end