Class: SemillaGen::TemplateItem

Inherits:
Object
  • Object
show all
Defined in:
lib/semillagen/generator.rb

Overview

Contains description information for a single template item. A class template can have more than one file in it, for example: a class definition and the test case definition for the class.

Instance Attribute Summary collapse

Instance Attribute Details

#name_patternObject

Returns the value of attribute name_pattern.



10
11
12
# File 'lib/semillagen/generator.rb', line 10

def name_pattern
  @name_pattern
end

#sourceObject

Returns the value of attribute source.



10
11
12
# File 'lib/semillagen/generator.rb', line 10

def source
  @source
end

#targetObject

Returns the value of attribute target.



10
11
12
# File 'lib/semillagen/generator.rb', line 10

def target
  @target
end