Class: Rake::Delphi::RAD2007VersionInfo

Inherits:
BDSVersionInfo show all
Defined in:
lib/rake/delphi/projectinfo.rb

Direct Known Subclasses

RAD2010VersionInfo

Instance Method Summary collapse

Methods inherited from BDSVersionInfo

#do_getcontent, encoding, #initialize

Methods inherited from ProjectVersionInfo

#[], #do_getcontent, #initialize, #method_missing

Constructor Details

This class inherits a constructor from Rake::Delphi::BDSVersionInfo

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Rake::Delphi::ProjectVersionInfo

Instance Method Details

#_extObject



81
82
83
# File 'lib/rake/delphi/projectinfo.rb', line 81

def _ext
    return 'dproj'
end

#get_versioninfo_tag(content) ⇒ Object



85
86
87
88
# File 'lib/rake/delphi/projectinfo.rb', line 85

def get_versioninfo_tag(content)
    # .dproj file has more nesting levels
    return content['ProjectExtensions']['BorlandProject']['BorlandProject'] if content
end