Skip to content

Commit

Permalink
Fix typo in comments in lib/grape_entity/entity.rb (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaito0046 authored Mar 21, 2021
1 parent 5238a3d commit 675d3c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/grape_entity/entity.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def self.inherited(subclass)
#
# @example as: a proc or lambda
#
# object = OpenStruct(awesomness: 'awesome_key', awesome: 'not-my-key', other: 'other-key' )
# object = OpenStruct(awesomeness: 'awesome_key', awesome: 'not-my-key', other: 'other-key' )
#
# class MyEntity < Grape::Entity
# expose :awesome, as: proc { object.awesomeness }
Expand Down

0 comments on commit 675d3c0

Please sign in to comment.