Class: YARD::Handlers::Ruby::ActiveRecord2::Associations::SingularHandler

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

Direct Known Subclasses

BelongsToHandler, HasOneHandler

Instance Method Summary collapse

Methods inherited from Base

#process

Instance Method Details

#class_nameObject



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

def class_name
  super(false)
end

#return_descriptionObject



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

def return_description
  "An associated #{method_name}"
end