Returns a new instance of MacroDir.
70 71 72 73
# File 'lib/bgem.rb', line 70 def initialize type, dir @type, @dir = type, dir @constant = Output::Exts.const_get @type.upcase end