Skip to content

Commit

Permalink
Merge pull request #27996 from ream88/patch-1
Browse files Browse the repository at this point in the history
Not ants were harmed! 🐜 [ci skip]
  • Loading branch information
vipulnsward committed Feb 14, 2017
2 parents b9661c7 + 3f79ee4 commit a778a0d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -260,7 +260,7 @@ def delegate(*methods, to: nil, prefix: nil, allow_nil: nil)
# end
#
# The target can be anything callable within the object. E.g. instance
# variables, methods, constants ant the likes.
# variables, methods, constants and the likes.
def delegate_missing_to(target)
target = target.to_s
target = "self.#{target}" if DELEGATION_RESERVED_METHOD_NAMES.include?(target)
Expand Down

0 comments on commit a778a0d

Please sign in to comment.