mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
BlankSlate -> BasicObject
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7763 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
34b576700d
commit
f118a5b05b
1 changed files with 1 additions and 3 deletions
|
@ -1,6 +1,4 @@
|
||||||
require 'builder'
|
class SetterTrap < BasicObject
|
||||||
|
|
||||||
class SetterTrap < Builder::BlankSlate
|
|
||||||
class << self
|
class << self
|
||||||
def rollback_sets(obj)
|
def rollback_sets(obj)
|
||||||
returning yield(setter_trap = new(obj)) do
|
returning yield(setter_trap = new(obj)) do
|
||||||
|
|
Loading…
Reference in a new issue