module Bake::Metamodel::ModelElement::ClassModule
Attributes
file_name[RW]
org_file_name[RW]
Public Instance Methods
fragment_ref=(fref)
click to toggle source
# File lib/bake/model/metamodel.rb, line 18 def fragment_ref=(fref) @file_name = fref.fragment.location @org_file_name = fref.fragment.location end
getConfig()
click to toggle source
# File lib/bake/model/metamodel_ext.rb, line 16 def getConfig comp = self while !(BaseConfig_INTERNAL === comp) && comp.respond_to?("parent") comp = comp.parent end return comp end
get_project_dir()
click to toggle source
# File lib/bake/model/metamodel_ext.rb, line 8 def get_project_dir comp = self while comp.respond_to?"parent" comp = comp.parent end ::File.dirname(comp.file_name) end