Open sarahbkim opened 6 years ago
Something like this?
class Rollout # ... + def to_hash + results = {} + features.each do |feature| + with_feature(feature) do |f| + results[feature] = f.to_hash + end + end + results + end end
Something like this?