Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #7352
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Robert Klemme <shortcutter@googlemail.com> |
| Newsgroups | comp.lang.ruby |
| Subject | Re: Static analysis – Unused method return value and method!() return values |
| Date | Mon, 15 May 2017 08:19:03 +0200 |
| Lines | 19 |
| Message-ID | <ensvioFtiqpU1@mid.individual.net> (permalink) |
| References | <of9it5$5g8$1@dont-email.me> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net OCcUGqrm0OeVf+zDWtMUBQ6B4hVauOWEa67NtSR/NyEDZFzz0= |
| Cancel-Lock | sha1:lkikKR/TpEw6k2zsNTOcY7FOVaI= |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
| In-Reply-To | <of9it5$5g8$1@dont-email.me> |
| Xref | csiph.com comp.lang.ruby:7352 |
Show key headers only | View raw
On 14.05.2017 14:38, Stanimir Stamenkov wrote: > I've tried RuboCop and RubyCritic but they don't seem to flag the given > usages as problems. Is there another tool to help with this, or is > there specific configuration to any of the two mentioned which would > trigger the intended warnings? This is hard to do correct as it requires knowledge about how a method works. At best, this would only be a rough guideline. It starts by reliably detecting the class of the receiver. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/
Back to comp.lang.ruby | Previous | Next — Previous in thread | Next in thread | Find similar
Static analysis – Unused method return value and method!() return values Stanimir Stamenkov <s7an10@netscape.net> - 2017-05-14 15:38 +0300
Re: Static analysis – Unused method return value and method!() return values Robert Klemme <shortcutter@googlemail.com> - 2017-05-15 08:19 +0200
Re: Static analysis – Unused method return value and method!() return values Stanimir Stamenkov <s7an10@netscape.net> - 2017-07-15 18:14 +0300
Re: Static analysis – Unused method return value and method!() return values Robert Klemme <shortcutter@googlemail.com> - 2017-07-15 18:29 +0200
Re: Static analysis – Unused method return value and method!() return values Stanimir Stamenkov <s7an10@netscape.net> - 2017-07-15 23:20 +0300
csiph-web