Class: GemGenerator::Command::ProcessFiles::RenderVariables

Inherits:
ProjectGenerator::Command::ProcessFiles::RenderVariables
  • Object
show all
Defined in:
lib/gem_generator/command/process_files/render_variables.rb

Overview

Class for a single object which should be a scope in render

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, namespace_option, indentation, summary) ⇒ RenderVariables

Returns a new instance of RenderVariables.



16
17
18
19
20
21
22
23
24
# File 'lib/gem_generator/command/process_files/render_variables.rb', line 16

def initialize(name, namespace_option, indentation, summary)
	super(name, indentation)

	@namespace_option = namespace_option
	@summary = summary

	## Call to be sure that this is checked before author fields
	github_namespace
end

Instance Attribute Details

#summaryObject (readonly)

Returns the value of attribute summary.



14
15
16
# File 'lib/gem_generator/command/process_files/render_variables.rb', line 14

def summary
  @summary
end