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-1.1.3 lib/rails/active_sprites.rb
active_assets-1.1.2 lib/rails/active_sprites.rb
active_assets-1.1.1 lib/rails/active_sprites.rb
active_assets-1.0.3 lib/rails/active_sprites.rb
active_assets-1.1.0 lib/rails/active_sprites.rb
active_assets-0.3.1 lib/rails/active_sprites.rb
active_assets-1.0.2 lib/rails/active_sprites.rb
active_assets-1.0.1 lib/rails/active_sprites.rb
active_assets-1.0.0 lib/rails/active_sprites.rb
active_assets-0.3.0 lib/rails/active_sprites.rb
active_assets-1.0.0.rc1 lib/rails/active_sprites.rb
active_assets-0.2.8 lib/rails/active_sprites.rb
active_assets-0.2.7 lib/rails/active_sprites.rb
active_assets-0.2.6 lib/rails/active_sprites.rb
active_assets-0.2.5 lib/rails/active_sprites.rb
active_assets-0.2.4 lib/rails/active_sprites.rb
active_assets-0.2.3 lib/rails/active_sprites.rb
active_assets-0.2.2 lib/rails/active_sprites.rb
active_assets-0.2.1 lib/rails/active_sprites.rb
active_assets-0.2.0 lib/rails/active_sprites.rb