Class: Steep::Drivers::Scaffold
- Inherits:
-
Object
- Object
- Steep::Drivers::Scaffold
- Includes:
- Utils::EachSignature
- Defined in:
- lib/steep/drivers/scaffold.rb
Defined Under Namespace
Classes: Generator
Instance Attribute Summary collapse
-
#labeling ⇒ Object
readonly
Returns the value of attribute labeling.
-
#source_paths ⇒ Object
readonly
Returns the value of attribute source_paths.
-
#stderr ⇒ Object
readonly
Returns the value of attribute stderr.
-
#stdout ⇒ Object
readonly
Returns the value of attribute stdout.
Instance Method Summary collapse
-
#initialize(source_paths:, stdout:, stderr:) ⇒ Scaffold
constructor
A new instance of Scaffold.
- #run ⇒ Object
Methods included from Utils::EachSignature
#each_file_in_dir, #each_ruby_file, #each_ruby_source, #each_signature
Constructor Details
#initialize(source_paths:, stdout:, stderr:) ⇒ Scaffold
Returns a new instance of Scaffold.
11 12 13 14 15 16 17 |
# File 'lib/steep/drivers/scaffold.rb', line 11 def initialize(source_paths:, stdout:, stderr:) @source_paths = source_paths @stdout = stdout @stderr = stderr @labeling = ASTUtils::Labeling.new end |
Instance Attribute Details
#labeling ⇒ Object (readonly)
Returns the value of attribute labeling.
7 8 9 |
# File 'lib/steep/drivers/scaffold.rb', line 7 def labeling @labeling end |
#source_paths ⇒ Object (readonly)
Returns the value of attribute source_paths.
4 5 6 |
# File 'lib/steep/drivers/scaffold.rb', line 4 def source_paths @source_paths end |
#stderr ⇒ Object (readonly)
Returns the value of attribute stderr.
6 7 8 |
# File 'lib/steep/drivers/scaffold.rb', line 6 def stderr @stderr end |
#stdout ⇒ Object (readonly)
Returns the value of attribute stdout.
5 6 7 |
# File 'lib/steep/drivers/scaffold.rb', line 5 def stdout @stdout end |