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-0.2.0.rc4 lib/rails/active_expansions.rb
active_assets-0.2.0.rc3 lib/rails/active_expansions.rb
active_assets-0.2.0.rc2 lib/rails/active_expansions.rb
active_assets-0.2.0.rc lib/rails/active_expansions.rb