Sha256: 7558c1888401c08792888508cd8f87ad62f5ba475c07a5ed9a7c604e63cea31c
Contents?: true
Size: 509 Bytes
Versions: 2
Compression:
Stored size: 509 Bytes
Contents
# frozen_string_literal: true require "refinements/struct" module Rubysmith module Builders # Builds project skeleton console for object inspection and exploration. class Console < Abstract using Refinements::Struct def call return configuration unless configuration.build_console builder.call(configuration.merge(template_path: "%project_name%/bin/console.erb")) .render .permit 0o755 configuration end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubysmith-6.10.0 | lib/rubysmith/builders/console.rb |
rubysmith-6.9.0 | lib/rubysmith/builders/console.rb |