Module OpenLaszlo::Rails
In: lib/openlaszlo_build_support.rb
lib/openlaszlo_installer.rb

Methods

Classes and Modules

Class OpenLaszlo::Rails::Applet

Public Class methods

[Source]

# File lib/openlaszlo_build_support.rb, line 88
    def self.applets(&block)
      applet_mains.map do |source|
        Applet.from_source(source)
      end
    end

[Source]

# File lib/openlaszlo_installer.rb, line 9
    def self.install_express_install
      source = File.join(File.dirname(__FILE__), '..', 'assets', 'expressInstall.swf')
      count = self.install_files([source], ".")
      puts "OpenLaszlo Plugin: installed #{File.basename(source)}" if count > 0
    end

[Source]

# File lib/openlaszlo_installer.rb, line 3
    def self.install_javascripts
      sources = Dir[File.join(File.dirname(__FILE__), '..', 'javascripts', '*.js')]
      count = self.install_files(sources, "javascripts")
      puts "OpenLaszlo Plugin: installed #{count} JavaScript files" if count > 0
    end

[Source]

# File lib/openlaszlo_build_support.rb, line 94
    def self.update_asset(path)
      target = File.join(RAILS_ROOT, 'public', path.sub(/\?\d+$/, ''))
      Applet.from_target(target).update
    end

[Validate]