lib/jflow/activity/map.rb in jflow-0.3.6 vs lib/jflow/activity/map.rb in jflow-0.4.0
- old
+ new
@@ -14,8 +14,13 @@
def klass_for(name, version)
return nil if !@map.has_key?(name) || !@map[name][version]
@map[name][version][:class]
end
+ def options_for(name, version)
+ return nil if !@map.has_key?(name) || !@map[name][version]
+ @map[name][version][:options]
+ end
+
end
end
-end
\ No newline at end of file
+end