Sha256: 3d0b5d478d0f2abddc0b45b2052934b828f587e384b2669b6b671adfa40a943c
Contents?: true
Size: 464 Bytes
Versions: 2
Compression:
Stored size: 464 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
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
hilbert-0.0.2700000 | lib/qlang/meta_info.rb |
qlang-0.0.27182124 | lib/qlang/meta_info.rb |