Sha256: 6e37087614b141e8baab96d1cf1ec4e4abb88d5dc32031bdbe415f0b85cef04c
Contents?: true
Size: 175 Bytes
Versions: 3
Compression:
Stored size: 175 Bytes
Contents
require "bayesnet/graph" module Bayesnet module DSL def define(&block) graph = Graph.new graph.instance_eval(&block) if block graph end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bayesnet-0.0.3 | lib/bayesnet/dsl.rb |
bayesnet-0.0.2 | lib/bayesnet/dsl.rb |
bayesnet-0.0.1 | lib/bayesnet/dsl.rb |