{"version":"1.0","type":"rich","title":"Gist 7236992","description":"This example demonstrates a Ruby helper method that converts month-level time intervals into an array of associated week intervals. The code shows how the `get_weeks` method takes a hash containing a year, month, and an array of week strings, then returns an array where each week maps back to the original month metadata. It uses RSpec’s `context`, `let`, and `it` blocks to test the expected output, verifying that four weeks in October 2013 correctly associate with the same month interval. The visualization relies on this data structure to support time-series rendering.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-7236992?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}