Module: Guillotine::Adapters
- Defined in:
- lib/guillotine.rb
Constant Summary collapse
- @@warned =
false
Class Method Summary collapse
Class Method Details
.const_missing(*args) ⇒ Object
110 111 112 113 114 115 116 117 |
# File 'lib/guillotine.rb', line 110 def self.const_missing(*args) unless @@warned puts "Guillotine::Adapters has been deprecated until v2." @@warned = true end puts "Change Guillotine::Adapters::#{args.first} => Guillotine::#{args.first}" ::Guillotine.const_get(args.first) end |