Module: Guillotine::Adapters
- Defined in:
- lib/guillotine.rb
Constant Summary collapse
- @@warned =
false
Class Method Summary collapse
Class Method Details
.const_missing(*args) ⇒ Object
68 69 70 71 72 73 74 75 |
# File 'lib/guillotine.rb', line 68 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 |