lib/rubysmith/builders/console.rb in rubysmith-6.10.0 vs lib/rubysmith/builders/console.rb in rubysmith-7.0.0
- old
+ new
@@ -7,16 +7,16 @@
# Builds project skeleton console for object inspection and exploration.
class Console < Abstract
using Refinements::Struct
def call
- return configuration unless configuration.build_console
+ return false unless settings.build_console
- builder.call(configuration.merge(template_path: "%project_name%/bin/console.erb"))
+ builder.call(settings.merge(template_path: "%project_name%/bin/console.erb"))
.render
.permit 0o755
- configuration
+ true
end
end
end
end