• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

YorickPeterse / ruby-lint / 288 / 3

Build:
DEFAULT BRANCH: master
Ran 19 Dec 2013 12:41AM UTC
Files 56
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Dec 2013 12:30AM UTC coverage: 98.712% (+0.009%) from 98.703%
rbx-2.2.1

push

travis-ci

YorickPeterse
Define `self` as methods/instance methods.

Instead of defining `self` as a keyword ruby-lint now defines it as a class and
instance method, both returning the corresponding definitions for their
instance types.

This ensures that if `self` is referenced either on class or instance level
that it returns the right definitions. Previously it would always return the
definition as a class.

Although this solution works I can't help but wonder what bugs it might
introduce and in general it smells a bit. Sadly the current definitions setup
doesn't really follow the way how Ruby organizes methods (using
singletons/eigen classes) but changing this would take quite some work. As a
result I'll just have to deal with this for the time being.

This fixes #80.

1839 of 1863 relevant lines covered (98.71%)

405.77 hits per line

Source Files on job 288.3 (rbx-2.2.1)
  • Tree
  • List 0
  • Changed 19
  • Source Changed 4
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 288
  • Travis Job 288.3
  • 28f604de on github
  • Prev Job for rbx-2.2.1 on master (#287.3)
  • Next Job for rbx-2.2.1 on master (#289.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc