Sha256: 2cd9bfcfbbb1b963fa2b949afa830f104325ee7c0012c8b2780df899ad483079

Contents?: true

Size: 352 Bytes

Versions: 8

Compression:

Stored size: 352 Bytes

Contents

# lib/patches/daru/category.rb

module Daru
	module Category

		def plotting_lig lib
			if :svg_graph = lib
        @plotting_library = lib
        if Daru.send("has_#{lib}?".to_sym)
          extend Module.const_get(
            "Daru::Plotting::Category::#{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/category.rb
sqa-0.0.14 lib/patches/daru/category.rb
sqa-0.0.13 lib/patches/daru/category.rb
sqa-0.0.12 lib/patches/daru/category.rb
sqa-0.0.11 lib/patches/daru/category.rb
sqa-0.0.10 lib/patches/daru/category.rb
sqa-0.0.9 lib/patches/daru/category.rb
sqa-0.0.8 lib/patches/daru/category.rb