Sha256: 47a786836789f264b05490607d7bbdff737c9d859721d9bbc90bd503ff04a8ca

Contents?: true

Size: 268 Bytes

Versions: 24

Compression:

Stored size: 268 Bytes

Contents

require 'active_assets/active_expansions'

module Rails
  module ActiveExpansions
    def expansions(&blk)
      @expansions ||= ::ActiveAssets::ActiveExpansions::Expansions.new
      @expansions.instance_eval(&blk) if block_given?
      @expansions
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
active_assets-1.1.3 lib/rails/active_expansions.rb
active_assets-1.1.2 lib/rails/active_expansions.rb
active_assets-1.1.1 lib/rails/active_expansions.rb
active_assets-1.0.3 lib/rails/active_expansions.rb
active_assets-1.1.0 lib/rails/active_expansions.rb
active_assets-0.3.1 lib/rails/active_expansions.rb
active_assets-1.0.2 lib/rails/active_expansions.rb
active_assets-1.0.1 lib/rails/active_expansions.rb
active_assets-1.0.0 lib/rails/active_expansions.rb
active_assets-0.3.0 lib/rails/active_expansions.rb
active_assets-1.0.0.rc1 lib/rails/active_expansions.rb
active_assets-0.2.8 lib/rails/active_expansions.rb
active_assets-0.2.7 lib/rails/active_expansions.rb
active_assets-0.2.6 lib/rails/active_expansions.rb
active_assets-0.2.5 lib/rails/active_expansions.rb
active_assets-0.2.4 lib/rails/active_expansions.rb
active_assets-0.2.3 lib/rails/active_expansions.rb
active_assets-0.2.2 lib/rails/active_expansions.rb
active_assets-0.2.1 lib/rails/active_expansions.rb
active_assets-0.2.0 lib/rails/active_expansions.rb