Sha256: 3cf7e4580429eea46b417a4f63343d24cbd48717f92c9b871896fc6fb485caa7
Contents?: true
Size: 463 Bytes
Versions: 1
Compression:
Stored size: 463 Bytes
Contents
# $meta_info indicate what and how to do. class MetaInfo include Singleton attr_accessor :lang, :opts, :mode def _load # compiles into R as default. lang = :r end # TODO: YAML.load_file("./lib/qlang/utils/langs.yml")['langs'] def langs_hash { r:"R", ruby: "Ruby", python: "Pyhton", haskell: "Haskell", scala: "Scala", js: "Javascript" } end def lang_str LANGS_HASH[@lang.to_s] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
qlang-0.0.27182123 | lib/qlang/meta_info.rb |