Sha256: f6ec1ea191131450301b99e334a9f4888abcb807ccba998bf126576b8c4925bd
Contents?: true
Size: 359 Bytes
Versions: 2
Compression:
Stored size: 359 Bytes
Contents
## # An object to associate with a map, for testing associations & wrapping thereof. class Legend def initialize(colored_regions, colored_lines) @colored_regions = colored_regions @colored_lines = colored_lines end def region_meaning(color) @colored_regions[color] end def line_meaning(color) @colored_lines[color] end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gift_wrap-1.0.0 | test/domain/legend.rb |
gift_wrap-0.2.0 | test/domain/legend.rb |