Class: Xcake::Generator
- Inherits:
-
Object
- Object
- Xcake::Generator
- Extended by:
- CoreExtensions::ClassDescendants
- Includes:
- Dependency, Plugin, Visitor
- Defined in:
- lib/xcake/generator.rb
Direct Known Subclasses
ConfigurationGenerator, DefaultProjectStructureGenerator, ProjectGenerator, ProjectMetadataGenerator, SchemeGenerator, TargetBuildPhaseGenerator, TargetBuildRuleGenerator, 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 CoreExtensions::ClassDescendants
Methods included from Visitor
Methods included from Plugin
Methods included from Dependency
Constructor Details
#initialize(context) ⇒ Generator
Returns a new instance of Generator.
10 11 12 |
# File 'lib/xcake/generator.rb', line 10 def initialize(context) self.context = context end |
Instance Attribute Details
#context ⇒ Object
Returns the value of attribute context.
8 9 10 |
# File 'lib/xcake/generator.rb', line 8 def context @context end |
Class Method Details
.plugins_location ⇒ Object
14 15 16 |
# File 'lib/xcake/generator.rb', line 14 def self.plugins_location "#{File.dirname(__FILE__)}/generator/*.rb" end |