Skip to content

Commit

Permalink
Merge pull request #20414 from d-m-u/patch-5
Browse files Browse the repository at this point in the history
minor grammatical nits in comments
  • Loading branch information
chessbyte authored Aug 4, 2020
2 parents 218cf16 + bf05130 commit 85037e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/mixins/supports_feature_mixin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# supports :publish
# supports_not :fake, :reason => 'We keep it real'
# supports :archive do
# unsupported_reason_add(:archive, 'Its too good') if featured?
# unsupported_reason_add(:archive, 'It is too good') if featured?
# end
# end
#
Expand All @@ -32,7 +32,7 @@
#
# Post.unsupported_reason(:publish) # => "Feature not supported"
# Post.unsupported_reason(:fake) # => "We keep it real"
# Post.new(featured: true).unsupported_reason(:archive) # => "Its too good"
# Post.new(featured: true).unsupported_reason(:archive) # => "It is too good"
#
# To query for known features you can ask the class or the instance via +feature_known?+
#
Expand Down

0 comments on commit 85037e1

Please sign in to comment.