Sha256: 9345e76d7b4e328ae3c0e9effed159906cc665eaaa5c49021498701bc5e55e17
Contents?: true
Size: 441 Bytes
Versions: 12
Compression:
Stored size: 441 Bytes
Contents
module JFlow module Activity class Map def initialize @map = {} end def add_activity(name, version, klass, options) @map ||= {} @map[name] ||= {} @map[name][version] = {:class => klass, :options => options} end def klass_for(name, version) return nil if !@map.has_key?(name) || !@map[name][version] @map[name][version][:class] end end end end
Version data entries
12 entries across 12 versions & 1 rubygems