Sha256: e63839610fa35ad4f021eedc0028b86d2c6cb5eda27c59705c55e41febdd60b1
Contents?: true
Size: 650 Bytes
Versions: 13
Compression:
Stored size: 650 Bytes
Contents
require 'active_support' require 'verbs' module SummaryJudgement def self.extended(base) base.initialize_summary Summary.new(base) base.send :include, InstanceMethods def base.inherited(subclass) subclass.initialize_summary @summary.dup(subclass) super end end def summarize(&blk) @summary.define(&blk) end def summary @summary end def initialize_summary(summary) @summary = summary end end require 'summary_judgement/summary' require 'summary_judgement/descriptor' require 'summary_judgement/instance_methods' require 'summary_judgement/core_extensions'
Version data entries
13 entries across 13 versions & 1 rubygems