Module: Af::Deprecated

Included in:
Application
Defined in:
lib/fiksu-af/deprecated.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
# File 'lib/fiksu-af/deprecated.rb', line 3

def self.included(base)
  base.extend(ClassMethods)
end

Instance Method Details

#update_opts(*x) ⇒ Object



7
8
9
10
# File 'lib/fiksu-af/deprecated.rb', line 7

def update_opts(*x)
  puts "don't use update_opts -- use #opt (#{caller.first})"
  self.class.opt *x
end