Sha256: 20572d664dc2517d1eb0fb1509e499551b3268e92ba149342ff174eec6c84ed3
Contents?: true
Size: 452 Bytes
Versions: 9
Compression:
Stored size: 452 Bytes
Contents
class GraphViz class Types class Common def initialize( data ) @data = check(data) end def output return @data end end Dir.glob( File.dirname( File.expand_path(__FILE__) )+"/types/*" ).each do |f| autoload File.basename(f).gsub(File.extname(f), "").split( "_" ).map{|n| n.capitalize }.join.to_sym, f end end end #x = :EscString #GraphViz::Types.const_get(x).new( "toto" )
Version data entries
9 entries across 9 versions & 1 rubygems