lib/triangular.rb in triangular-0.0.2 vs lib/triangular.rb in triangular-0.1.1

- old
+ new

@@ -1,18 +1,21 @@ +# frozen_string_literal: true + require 'triangular/point' require 'triangular/vertex' require 'triangular/vector' require 'triangular/line' require 'triangular/polyline' require 'triangular/facet' require 'triangular/units' require 'triangular/solid' +require 'triangular/ray' 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