GitHub topics: ruby-struct
gangelo/immutable_struct_ex_redactable
immutable_struct_ex_redactable is the redactable version of the world-famous immutable_struct_ex immutable struct :). To find out more about the immutable_struct_ex gem, visit the Rubygems.org entry for immutable_struct_ex. immutable_struct_ex_redactable maintains all the functionality of the immutable_struct_ex gem, but allows you to create immutable structs that can be configured to redact field values using standard gem configuration (ImmutableStructExRedactable.configure { |config| ... }) or by passing configuration options to the appropriate method (ImmutableStructExRedactable.create_with(config, ...))
Language: Ruby - Size: 53.7 KB - Last synced at: about 1 month ago - Pushed at: about 2 months ago - Stars: 2 - Forks: 0

gangelo/immutable_struct_ex
ImmutableStructEx is yet another immutable struct. What makes ImmutableStructEx different, is that it allows you to create immutable structs in one step by default. In other words, other immutable struct gems force you to first define the struct, then instantiate the struct object; or, define the struct and instantiate the struct object via chaining.
Language: Ruby - Size: 49.8 KB - Last synced at: 7 days ago - Pushed at: 7 months ago - Stars: 3 - Forks: 0

janlelis/value_struct
Read-only structs in Ruby
Language: Ruby - Size: 22.5 KB - Last synced at: 19 days ago - Pushed at: over 3 years ago - Stars: 25 - Forks: 0
