Sha256: 95b7b0fbc6c71ce44f12bc87e00f2418933cae52686eadb33683d8aa2e4b145a

Contents?: true

Size: 346 Bytes

Versions: 8

Compression:

Stored size: 346 Bytes

Contents

# lib/patches/daru/vector.rb

module Daru
	module Vector

		def plotting_lig lib
			if :svg_graph = lib
        @plotting_library = lib
        if Daru.send("has_#{lib}?".to_sym)
          extend Module.const_get(
            "Daru::Plotting::Vector::#{lib.to_s.capitalize}Library"
          )
        end
			else
				super
			end
		end
	end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sqa-0.0.15 lib/patches/daru/vector.rb
sqa-0.0.14 lib/patches/daru/vector.rb
sqa-0.0.13 lib/patches/daru/vector.rb
sqa-0.0.12 lib/patches/daru/vector.rb
sqa-0.0.11 lib/patches/daru/vector.rb
sqa-0.0.10 lib/patches/daru/vector.rb
sqa-0.0.9 lib/patches/daru/vector.rb
sqa-0.0.8 lib/patches/daru/vector.rb