Skip to content

Add Benchmark::Tms#to_h method #3

@keithrbennett

Description

@keithrbennett

Benchmark::Tms contains a to_a method, but a to_h method would also be useful. I added a to_h method, and a test for it.

When running the test, I found that the test was loading the benchmark code from the Ruby runtime (using require benchmark), so my code changes were ignored. The PR for this issue addresses this by using require_relative instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions