Sha256: 68d268c889ceea201361be95408acb6a2e125b9d19438326a1069e88dded0471

Contents?: true

Size: 375 Bytes

Versions: 1

Compression:

Stored size: 375 Bytes

Contents

require 'triangular/point'
require 'triangular/vertex'
require 'triangular/vector'
require 'triangular/line'
require 'triangular/polyline'
require 'triangular/facet'
require 'triangular/solid'

module Triangular
  def self.parse(string)
    Solid.parse(string)
  end
  
  def self.parse_file(path)
    File.open(path) do |file|
      Solid.parse(file.read)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
triangular-0.0.1 lib/triangular.rb