Sha256: 6cf2e3eac5f89dabacfa5ff0be73f147af976e75402305e72e610a33b53086e5
Contents?: true
Size: 265 Bytes
Versions: 1
Compression:
Stored size: 265 Bytes
Contents
require 'miu' module Miu module Plugin def self.included(base) base.extend ClassMethods end module ClassMethods def register(*args, &block) args.insert 1, self.class Miu.register *args, &block end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
miu-0.0.2 | lib/miu/plugin.rb |