public
Description: PLEASE CHECK http://github.com/lifo/docrails/wikis
Homepage: http://weblog.rubyonrails.org/2008/5/2/help-improve-rails-documentation-on-git-branch
Clone URL: git://github.com/lifo/docrails.git
Search Repo:
revised doc conventions in attr_internal.rb
fxn (author)
Mon May 12 09:37:37 -0700 2008
commit  9d0900c7dffcd95339ace815192d4778cd04dc09
tree    d6ddf689ab66cada3f6d0bf5458a34f5389f0563
parent  130a280ddee1f96ccf378b52c17ee742b5e54f4a
...
1
2
 
3
4
5
6
7
8
9
 
10
11
12
13
14
15
16
 
17
18
19
...
1
 
2
3
4
5
6
7
8
 
9
10
11
12
13
14
15
 
16
17
18
19
0
@@ -1,19 +1,19 @@
0
 class Module
0
- # Declare an attribute reader backed by an internally-named instance variable.
0
+ # Declares an attribute reader backed by an internally-named instance variable.
0
   def attr_internal_reader(*attrs)
0
     attrs.each do |attr|
0
       module_eval "def #{attr}() #{attr_internal_ivar_name(attr)} end"
0
     end
0
   end
0
 
0
- # Declare an attribute writer backed by an internally-named instance variable.
0
+ # Declares an attribute writer backed by an internally-named instance variable.
0
   def attr_internal_writer(*attrs)
0
     attrs.each do |attr|
0
       module_eval "def #{attr}=(v) #{attr_internal_ivar_name(attr)} = v end"
0
     end
0
   end
0
 
0
- # Declare an attribute reader and writer backed by an internally-named instance
0
+ # Declares an attribute reader and writer backed by an internally-named instance
0
   # variable.
0
   def attr_internal_accessor(*attrs)
0
     attr_internal_reader(*attrs)

Comments

    No one has commented yet.