Class: YARD::Handlers::Ruby::ActiveRecord2::Associations::PluralHandler

Inherits:
Base
  • Object
show all
Defined in:
lib/yard-activerecord2/associations/plural_handler.rb

Direct Known Subclasses

HasAndBelongsToManyHandler, HasManyHandler

Instance Method Summary collapse

Methods inherited from Base

#process

Instance Method Details

#class_nameObject



5
6
7
# File 'lib/yard-activerecord2/associations/plural_handler.rb', line 5

def class_name
  "Array<#{super(true)}>"
end

#return_descriptionObject



9
10
11
# File 'lib/yard-activerecord2/associations/plural_handler.rb', line 9

def return_description
  "An array of associated #{method_name}"
end