attribs 1.0.0

Multi-strategy feature flags.

Homepage: https://github.com/plexus/attribs

Platform: Rubygems

Language: Ruby

License: MIT

View on registry: https://rubygems.org/gems/attribs

Documentation: http://www.rubydoc.info/gems/attribs/1.0.0

Install: gem install attribs


Attribs

Easy and flexible Ruby value objects.

Installation

Add this line to your application's Gemfile:

gem 'attribs'

And then execute:

$ gem install -g

Or install it directly:

$ gem install attribs

Usage

class Widget
 include Attribs.new(:color, :size, quantity: 1)
end
w = Widget.new(color: 'blue', size: '10')
w2 = w.with(color: 'red')
puts w2.pp
w.to_h

Shoutout

To Anima, which powers most of what Attribs offers.

License

© 2014-2015 Arne Brasseur

MIT License (see LICENSE.txt)

веселые картинки развлекательные гифки интресные факты смешные видео смешные истории из соцсетей

GitHub Repository

plexus/attribs plexus/attribs

Language: Ruby

Created: April 01, 2015 12:53

Last updated: April 01, 2015 13:04

Last pushed: April 01, 2015 12:57

Size: 0 Bytes

Stars: 0

Forks: 0

Watchers: 1

Open issues: 0

Top Contributors

Arne Brasseur

Releases

  • 1.0.0 - April 01, 2015 00:00

Related Projects

active_record_rollout 0.0.1
Rollouts (feature flags) for ActiveRecord models.
Rubygems - Ruby - MIT - Published over 1 year ago - 2 stars
detour 0.0.15
Rollouts (feature flags) for Rails.
Rubygems - Ruby - MIT - Updated about 1 year ago - 2 stars
engine 0.0.1
Flashcard Engine with Spaced Repetition.
Rubygems - Ruby - MIT - Updated 11 months ago
feature_creep 0.3.0
Feature Flag implementation
Rubygems - Ruby - Updated over 2 years ago - 1 stars
feature_flag 0.0.2
Ruby gem for tying feature flags to environment variables
Rubygems - MIT - Updated almost 2 years ago - 1 stars
веселые картинки развлекательные гифки интресные факты смешные видео смешные истории из соцсетей