lib/onebox/engine/trello_onebox.rb in onebox-1.8.68 vs lib/onebox/engine/trello_onebox.rb in onebox-1.8.69
- old
+ new
@@ -16,15 +16,15 @@
<iframe src=\"#{link}\" width=\"100%\" height=\"#{height}\" frameborder=\"0\" style=\"border:0\"></iframe>
HTML
end
private
- def match
- return @match if @match
+ def match
+ return @match if @match
- @match = @url.match(%{trello\.com/(?<type>[^/]+)/(?<key>[^/]+)/?\W*})
+ @match = @url.match(%{trello\.com/(?<type>[^/]+)/(?<key>[^/]+)/?\W*})
- @match
- end
+ @match
+ end
end
end
end