Sha256: fb4896b999d761334085353e1b4d2df710d5f14c2b3567f3cf9e1296b7ed67a1
Contents?: true
Size: 569 Bytes
Versions: 3
Compression:
Stored size: 569 Bytes
Contents
module EnableBlueprints #:nodoc: def enable_blueprints(options = {}) STDERR.puts "DEPRECATION WARNING: enable_blueprints is deprecated. Use Blueprints.enable" Blueprints.enable do |config| options.each {|option, value| config.send("#{option}=", value) } end end end module ActiveSupport #:nodoc:all class TestCase include EnableBlueprints end end if defined? ActiveSupport::TestCase module Spec #:nodoc:all module Runner class Configuration include EnableBlueprints end end end if defined? Spec or $0 =~ /script.spec$/
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
blueprints-0.7.3 | lib/blueprints/extensions/deprecated.rb |
blueprints-0.7.2 | lib/blueprints/extensions/deprecated.rb |
blueprints-0.7.1 | lib/blueprints/extensions/deprecated.rb |