alsemyonov/yard-mongoid

View on GitHub
lib/yard/handlers/ruby/mongoid/relations/belongs_to_handler.rb

Summary

Maintainability
A
0 mins
Test Coverage
require 'yard/handlers/ruby/mongoid/relations/singular_handler'

module YARD::Handlers::Ruby::Mongoid::Relations
  class BelongsToHandler < SingularHandler
    handles method_call(:belongs_to)

    def group_name
      'Belongs to'
    end

    private

    def return_description
      ''
    end
  end
end