Sha256: 984c2f2882173093f6bcc995f8bb199d6d7acfff55bdd2af49d47e0b7c7fa376

Contents?: true

Size: 582 Bytes

Versions: 4

Compression:

Stored size: 582 Bytes

Contents

class ActiveScaffold::Bridges::Carrierwave < ActiveScaffold::DataStructures::Bridge
  def self.install
    require File.join(File.dirname(__FILE__), 'carrierwave/form_ui')
    require File.join(File.dirname(__FILE__), 'carrierwave/list_ui')
    require File.join(File.dirname(__FILE__), 'carrierwave/carrierwave_bridge_helpers')
    require File.join(File.dirname(__FILE__), 'carrierwave/carrierwave_bridge')
    ActiveScaffold::Config::Core.prepend ActiveScaffold::Bridges::Carrierwave::CarrierwaveBridge
  end

  def self.install?
    Object.const_defined? :CarrierWave
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
active_scaffold-4.0.0 lib/active_scaffold/bridges/carrierwave.rb
active_scaffold-4.0.0.rc3 lib/active_scaffold/bridges/carrierwave.rb
active_scaffold-4.0.0.rc2 lib/active_scaffold/bridges/carrierwave.rb
active_scaffold-4.0.0.rc1 lib/active_scaffold/bridges/carrierwave.rb