aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-11-26 22:26:52 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2011-11-26 23:08:58 +0530
commita8f2860d0e7db86c61bb70935006100b04667ab1 (patch)
treeeb3cf04b0887bce9799914a0d61f3ddb568bc993 /activemodel/lib
parent8135e5e6998f99bec56df365f1a580bae4bf1cb1 (diff)
downloadrails-a8f2860d0e7db86c61bb70935006100b04667ab1.tar.gz
rails-a8f2860d0e7db86c61bb70935006100b04667ab1.tar.bz2
rails-a8f2860d0e7db86c61bb70935006100b04667ab1.zip
Convert aliases monday and sunday to methods
A recent change to beginning_of_week and end_of_week added an argument that can be used to specify the week's starting day as a symbol. Now these methods were aliased as monday and sunday respectively which as a consequence of the argument addition, made calls like obj.monday(:sunday) possible. This commit makes them methods on their own.
Diffstat (limited to 'activemodel/lib')
0 files changed, 0 insertions, 0 deletions