Class: Xcake::Generator
- Includes:
- Dependency, Plugin, Visitor
- Defined in:
- lib/xcake/generator.rb
Direct Known Subclasses
ConfigurationGenerator, DefaultProjectStructureGenerator, ProjectGenerator, ProjectMetadataGenerator, SchemeGenerator, TargetBuildPhaseGenerator, TargetDependencyGenerator, TargetFileReferenceGenerator, TargetFrameworkGenerator, TargetGenerator, TargetLibraryGenerator, TargetLinkGenerator
Instance Attribute Summary collapse
-
#context ⇒ Object
Returns the value of attribute context.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(context) ⇒ Generator
constructor
A new instance of Generator.
Methods included from Visitor
Methods included from Plugin
Methods included from Dependency
Constructor Details
#initialize(context) ⇒ Generator
Returns a new instance of Generator.
9 10 11 |
# File 'lib/xcake/generator.rb', line 9 def initialize(context) self.context = context end |
Instance Attribute Details
#context ⇒ Object
Returns the value of attribute context.
7 8 9 |
# File 'lib/xcake/generator.rb', line 7 def context @context end |
Class Method Details
.plugins_location ⇒ Object
13 14 15 |
# File 'lib/xcake/generator.rb', line 13 def self.plugins_location "#{File.dirname(__FILE__)}/generator/*.rb" end |