send -> send! for some private methods
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7659 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
b01a7c69fc
commit
053d057a88
|
@ -11,7 +11,7 @@ module ActiveSupport
|
|||
private
|
||||
def method_missing(method, *arguments, &block)
|
||||
merge_argument_options! arguments
|
||||
@context.send(method, *arguments, &block)
|
||||
@context.send!(method, *arguments, &block)
|
||||
end
|
||||
|
||||
def merge_argument_options!(arguments)
|
||||
|
|
|
@ -76,7 +76,7 @@ class TimeZone
|
|||
# Create a new TimeZone instance with the given name and offset.
|
||||
def create(name, offset)
|
||||
zone = allocate
|
||||
zone.send :initialize, name, offset
|
||||
zone.send!(:initialize, name, offset)
|
||||
zone
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue