Sha256: 75add9ec71002cbdfd218c8ed6afedf641c75859b8b3610a8c7fa2e2ea0da983
Contents?: true
Size: 581 Bytes
Versions: 3
Compression:
Stored size: 581 Bytes
Contents
# frozen_string_literal: true require "refinements/pathname" require "tocer" module Rubysmith module Extensions # Ensures project skeleton documentation has table of content. class Tocer include Import[:settings] using Refinements::Pathname def initialize(client: ::Tocer::Runner.new, **) @client = client super(**) end def call return false unless settings.build_readme settings.project_root.change_dir { client.call } true end private attr_reader :client end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rubysmith-7.2.0 | lib/rubysmith/extensions/tocer.rb |
rubysmith-7.1.0 | lib/rubysmith/extensions/tocer.rb |
rubysmith-7.0.0 | lib/rubysmith/extensions/tocer.rb |