alsemyonov/yard-mongoid

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

Summary

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

module YARD::Handlers::Ruby::Mongoid::Relations
  class HasOneHandler < SingularHandler
    handles method_call(:has_one)

    def group_name
      'Has one'
    end

    private

    def return_description
      ''
    end
  end
end