class Imasgen::MillionLiveCls

Public Class Methods

getyaml() click to toggle source
# File lib/imasgen/million_live.rb, line 12
def self.getyaml
  YAML.load_file(__dir__ + '/dic/million_live.yml')[:million_live]
end
new() click to toggle source
Calls superclass method Imasgen::GeneratorBase::new
# File lib/imasgen/million_live.rb, line 6
def initialize
  super
  yaml = YAML.load_file(__dir__ + '/dic/million_live.yml')
  @namedic = yaml[:million_live]
end