Class: GemGenerator::Command::ProcessFiles::RenderVariables
- Inherits:
-
ProjectGenerator::Command::ProcessFiles::RenderVariables
- Object
- ProjectGenerator::Command::ProcessFiles::RenderVariables
- GemGenerator::Command::ProcessFiles::RenderVariables
- 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
-
#summary ⇒ Object
readonly
Returns the value of attribute summary.
Instance Method Summary collapse
-
#initialize(name, namespace_option, indentation, summary) ⇒ RenderVariables
constructor
A new instance of RenderVariables.
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
#summary ⇒ Object (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 |