class CurrentAttributesTest::Current
Public Instance Methods
account=(account)
click to toggle source
Calls superclass method
# File activesupport/test/current_attributes_test.rb, line 14 def account=(account) super self.person = "#{account}'s person" end
intro()
click to toggle source
# File activesupport/test/current_attributes_test.rb, line 28 def intro "#{person.name}, in #{time_zone}" end
person=(person)
click to toggle source
Calls superclass method
# File activesupport/test/current_attributes_test.rb, line 19 def person=(person) super Time.zone = person.try(:time_zone) end
request()
click to toggle source
# File activesupport/test/current_attributes_test.rb, line 24 def request "#{super} something" end