Sha256: 73d0f772731ec01c7930e02da754739d33c67b5634f5cbe8f2b8023486a4e3b6
Contents?: true
Size: 618 Bytes
Versions: 1
Compression:
Stored size: 618 Bytes
Contents
# frozen_string_literal: true require "refinements/pathname" require "stringio" 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(io: StringIO.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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rubysmith-7.3.0 | lib/rubysmith/extensions/tocer.rb |