43 lines
377 B
Ruby
43 lines
377 B
Ruby
foo
|
|
.update({
|
|
key => value,
|
|
other_key:
|
|
}, {
|
|
key => value,
|
|
other_key:
|
|
})
|
|
|
|
update([
|
|
1,
|
|
2
|
|
], [
|
|
3,
|
|
4
|
|
])
|
|
|
|
update([{
|
|
key: "value"
|
|
}, {
|
|
key: "value"
|
|
}])
|
|
|
|
update(arg1, {
|
|
foo: "bar"
|
|
}, [
|
|
1,
|
|
2
|
|
], arg2)
|
|
|
|
def foo
|
|
foo.update(
|
|
{
|
|
key => value,
|
|
other_key: foo
|
|
}
|
|
)
|
|
end
|
|
|
|
# Local Variables:
|
|
# ruby-bracketed-args-indent: nil
|
|
# End:
|