Sha256: 5f22adb260578c702b9cedad9b58e6c7d8e530584b2754884e54aafd3eba6311

Contents?: true

Size: 244 Bytes

Versions: 24

Compression:

Stored size: 244 Bytes

Contents

require 'active_assets/active_sprites'

module Rails
  module ActiveSprites
    def sprites(&blk)
      @sprites ||= ::ActiveAssets::ActiveSprites::Sprites.new
      @sprites.instance_eval(&blk) if block_given?
      @sprites
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
active_assets-0.2.0.rc4 lib/rails/active_sprites.rb
active_assets-0.2.0.rc3 lib/rails/active_sprites.rb
active_assets-0.2.0.rc2 lib/rails/active_sprites.rb
active_assets-0.2.0.rc lib/rails/active_sprites.rb