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

nubs / random-name-generator / 129 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 04 Dec 2016 01:55AM UTC
Files 5
Run time 0s
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

04 Dec 2016 01:54AM UTC coverage: 100.0%. Remained the same
129.1

Pull #34

travis-ci

web-flow
Add __toString() to all generators.

Reduce redundancy of code using random-name-generator by providing a
`__toString()` method to alias the `getName` method.  Rather than repeat
this method on all classes, this uses an abstract class to add the
behavior since all generators would theoreticaly be cast to string in
the same way.

This does not add the __toString method to the interface yet as that
would break compatibility to downstream libraries.  Version 3.0 will
have __toString added as part of the interface.
Pull Request #34: Added __toString() to all classes implementing Generator interface

45 of 45 relevant lines covered (100.0%)

2.93 hits per line

Source Files on job 129.1
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 129
  • Travis Job 129.1
  • a0fb6e37 on github
  • Prev Job for on master (#123.1)
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