diff options
Diffstat (limited to 'lib/rdoc/attr.rb')
-rw-r--r-- | lib/rdoc/attr.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/rdoc/attr.rb b/lib/rdoc/attr.rb index 43ded8e610..9b8c4562c2 100644 --- a/lib/rdoc/attr.rb +++ b/lib/rdoc/attr.rb @@ -56,6 +56,12 @@ class RDoc::Attr < RDoc::CodeObject ## # Returns nil, for duck typing with RDoc::AnyMethod + def arglists + end + + ## + # Returns nil, for duck typing with RDoc::AnyMethod + def block_params end @@ -133,6 +139,13 @@ class RDoc::Attr < RDoc::CodeObject end ## + # For duck typing with RDoc::AnyMethod, returns nil + + def params + nil + end + + ## # URL path for this attribute def path |