Module: RubyLens

Defined in:
lib/rubylens.rb,
lib/rubylens/cli.rb,
lib/rubylens/paths.rb,
lib/rubylens/errors.rb,
lib/rubylens/version.rb,
lib/rubylens/generator.rb,
lib/rubylens/report_writer.rb,
lib/rubylens/git_repository.rb,
lib/rubylens/index/manifest.rb,
lib/rubylens/showcase_model.rb,
lib/rubylens/showcase_writer.rb,
lib/rubylens/art_model_builder.rb,
lib/rubylens/showcase_generator.rb,
lib/rubylens/index/rubydex_adapter.rb,
lib/rubylens/report_asset_assembler.rb,
lib/rubylens/model/dependency_aggregation.rb

Defined Under Namespace

Modules: Index, Model, Paths Classes: ArtModelBuilder, CLI, Error, ExtractionError, GenerationPipeline, Generator, GitRepository, ReportAssetAssembler, ReportWriter, Result, ShowcaseGenerator, ShowcaseModel, ShowcaseWriter

Constant Summary collapse

VERSION =
"0.1.0.pre.1"

Class Method Summary collapse

Class Method Details

.generate(path: Dir.pwd, output: nil, lockfile: nil) ⇒ Object



28
29
30
# File 'lib/rubylens.rb', line 28

def generate(path: Dir.pwd, output: nil, lockfile: nil)
  generate_report(path: path, output: output, lockfile: lockfile)
end

.generate_report(path: Dir.pwd, output: nil, lockfile: nil) ⇒ Object



20
21
22
# File 'lib/rubylens.rb', line 20

def generate_report(path: Dir.pwd, output: nil, lockfile: nil)
  Generator.new.call(path: path, output: output, lockfile: lockfile)
end

.generate_showcase(path: Dir.pwd, output: nil, lockfile: nil) ⇒ Object



24
25
26
# File 'lib/rubylens.rb', line 24

def generate_showcase(path: Dir.pwd, output: nil, lockfile: nil)
  ShowcaseGenerator.new.call(path: path, output: output, lockfile: lockfile)
end