Skip to content

Commit

Permalink
chore: Fix yard undoc warnings (#1586)
Browse files Browse the repository at this point in the history
  • Loading branch information
matsales28 authored Dec 19, 2023
1 parent 58f5077 commit 423eddb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/shoulda/matchers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
require 'shoulda/matchers/active_record'
require 'shoulda/matchers/routing'

module Shoulda
module Matchers
module Shoulda # :nodoc:
module Matchers # :nodoc:
class << self
# @private
attr_accessor :assertion_exception_class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

module Shoulda
module Matchers
# @private
class ExampleClass; end

module ActiveModel
Expand Down
1 change: 1 addition & 0 deletions lib/shoulda/matchers/rails_shim.rb
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ def simply_generate_validation_message(
I18n.translate(primary_translation_key, translate_options)
end

# @private
class FakeAttributeType
def initialize(model, attribute_name)
@model = model
Expand Down

0 comments on commit 423eddb

Please sign in to comment.