class Deprecatee
Constants
- A
Public Class Methods
new()
click to toggle source
# File activesupport/test/deprecation_test.rb, line 7 def initialize @request = ActiveSupport::Deprecation::DeprecatedInstanceVariableProxy.new(self, :request) @_request = "there we go" end
Public Instance Methods
a()
click to toggle source
# File activesupport/test/deprecation_test.rb, line 24 def a; end
b()
click to toggle source
# File activesupport/test/deprecation_test.rb, line 25 def b; end
c()
click to toggle source
# File activesupport/test/deprecation_test.rb, line 26 def c; end
d()
click to toggle source
# File activesupport/test/deprecation_test.rb, line 27 def d; end
e()
click to toggle source
# File activesupport/test/deprecation_test.rb, line 28 def e; end
f=(v)
click to toggle source
# File activesupport/test/deprecation_test.rb, line 31 def f=(v); end
multi(a, b, c)
click to toggle source
# File activesupport/test/deprecation_test.rb, line 21 def multi(a, b, c) [a, b, c] end
none()
click to toggle source
# File activesupport/test/deprecation_test.rb, line 19 def none() 1 end
not()
click to toggle source
# File activesupport/test/deprecation_test.rb, line 18 def not() 2 end
old_request()
click to toggle source
# File activesupport/test/deprecation_test.rb, line 12 def old_request; @request end
one(a)
click to toggle source
# File activesupport/test/deprecation_test.rb, line 20 def one(a) a end
partially(foo = nil)
click to toggle source
# File activesupport/test/deprecation_test.rb, line 14 def partially(foo = nil) ActiveSupport::Deprecation.warn("calling with foo=nil is out") if foo.nil? end
request()
click to toggle source
# File activesupport/test/deprecation_test.rb, line 11 def request; @_request end