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

Version Path
ruby-graphviz-1.2.5 lib/graphviz/types.rb
ruby-graphviz-1.2.4 lib/graphviz/types.rb
ruby-graphviz-1.2.3 lib/graphviz/types.rb
ruby-graphviz-1.2.2 lib/graphviz/types.rb
ruby-graphviz-1.2.1 lib/graphviz/types.rb
ruby-graphviz-1.2.0 lib/graphviz/types.rb
ruby-graphviz-1.1.0 lib/graphviz/types.rb
ruby-graphviz_c-1.1.1 lib/graphviz/types.rb
ruby-graphviz_c-1.1.0 lib/graphviz/types.rb
ruby-graphviz-1.0.9 lib/graphviz/types.rb