Sha256: 2558cb6f1aaf7bfb987f21887bd03dc68b44a24e511412716141f6ecc5b38975

Contents?: true

Size: 310 Bytes

Versions: 2

Compression:

Stored size: 310 Bytes

Contents

module Shuwar
  module Stdlib
    autoload :Base, "shuwar/stdlib/base"
    autoload :Nokogiri, "shuwar/stdlib/nokogiri"

    LIST = {
      base: :Base,
      nokogiri: :Nokogiri
    }

    def self.load(name)
      l = const_get(LIST[name])
      [l.const_get(:VALUES), l.const_get(:MARCOS)]
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shuwar-1.3.0 lib/shuwar/stdlib.rb
shuwar-1.2.0 lib/shuwar/stdlib.rb