Sha256: e6ad94dff3499378bb4d8b701d04445c40da127f08692bfc8c984a5741dddafd
Contents?: true
Size: 449 Bytes
Versions: 10
Compression:
Stored size: 449 Bytes
Contents
class GraphViz class Types class Common def initialize( data ) @data = check(data) end def output return @data end def source return @data end end Dir.glob( File.dirname( File.expand_path(__FILE__) )+"/types/*.rb" ).each do |f| #autoload File.basename(f).gsub(File.extname(f), "").split( "_" ).map{|n| n.capitalize }.join.to_sym, f require f end end end
Version data entries
10 entries across 10 versions & 2 rubygems