projects
/
depot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Functional tests now work properly, bearing in mind whether a user is logged in or...
[depot.git]
/
lib
/
active_support
/
ordered_options.rb
1
module
ActiveSupport
#:nodoc:
2
class
OrderedOptions
<
OrderedHash
#:nodoc:
3
def
[]=(
key
,
value
)
4
super
(
key
.
to_sym
,
value
)
5
end
6
7
def
[](
key
)
8
super
(
key
.
to_sym
)
9
end
10
11
def
method_missing
(
name
, *
args
)
12
if
name
.
to_s
=
~
/(.*)=$/
13
self
[
$1
.
to_sym
] =
args
.
first
14
else
15
self
[
name
]
16
end
17
end
18
end
19
end