Skip to content

Commit

Permalink
Fix ruby 2.7 keywords warning (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
aki77 committed Sep 16, 2020
1 parent f9a9a48 commit f88287b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/gretel/crumb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def link(*args)

# Transform objects to real paths.
url = url_for(url) if url

links << Gretel::Link.new(key, text, url, options)
end

Expand Down Expand Up @@ -66,5 +66,6 @@ def parent(*args)
def method_missing(method, *args, &block)
context.send(method, *args, &block)
end
ruby2_keywords(:method_missing) if respond_to?(:ruby2_keywords, true)
end
end

0 comments on commit f88287b

Please sign in to comment.