Sha256: 52aabafa87f74074bc15a657fe9d9e8430e01d42cfadbdd8006f7acc92ae23b9
Contents?: true
Size: 268 Bytes
Versions: 3
Compression:
Stored size: 268 Bytes
Contents
module Cloudist class Callback include Cloudist::CallbackMethods attr_reader :payload, :source def initialize(source) @source = source end def call(payload) @payload = payload instance_eval(&source) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cloudist-0.2.1 | lib/cloudist/callback.rb |
cloudist-0.2.0 | lib/cloudist/callback.rb |
cloudist-0.1.2 | lib/cloudist/callback.rb |