Class: YARD::Handlers::Ruby::ActiveRecord2::Scopes::ScopeHandler
- Inherits:
-
MethodHandler
- Object
- MethodHandler
- YARD::Handlers::Ruby::ActiveRecord2::Scopes::ScopeHandler
- Defined in:
- lib/yard-activerecord2/scopes/scope_handler.rb
Instance Method Summary collapse
Instance Method Details
#process ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/yard-activerecord2/scopes/scope_handler.rb', line 8 def process object = YARD::CodeObjects::MethodObject.new(namespace, method_name, :class) object.docstring = return_description object.docstring.add_tag get_tag(:return, '', class_name) object.docstring.add_tag get_tag(:see, 'http://api.rubyonrails.org/classes/ActiveRecord/NamedScope/ClassMethods.html') register object end |