RubyGems Navigation menu

output_attributes 1.0.0

Sometimes defining #to_hash is a drag because the source location of your methods is far away from `def to_hash`. This gem gives you a declarative way to build up a hash representation of your object as you define your methods.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.0.1 - November 18, 2021 (9.5 KB)
  2. 1.0.0 - November 18, 2021 (9.5 KB)
  3. 0.1.1 - March 02, 2020 (9 KB)
  4. 0.1.0 - November 26, 2019 (8.5 KB)

Development Dependencies (4):

bundler ~> 2.0
minitest ~> 5.0
pry >= 0
rake ~> 13.0

Owners:

Pushed by:

Authors:

  • Tim Tilberg

SHA 256 checksum:

= Copy to clipboard Copied!

Total downloads 6,310

For this version 1,110

Licenses:

N/A

Required Ruby Version: >= 0

Links: