From d3204700c1efe7987631715a1b2c8a3af0e1c934 Mon Sep 17 00:00:00 2001 From: Tung Nguyen Date: Sun, 21 Aug 2022 17:22:46 +0000 Subject: [PATCH] cleanup --- lib/terraspace_bundler/cli/help.rb | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/lib/terraspace_bundler/cli/help.rb b/lib/terraspace_bundler/cli/help.rb index aad5f77..2baaa8f 100644 --- a/lib/terraspace_bundler/cli/help.rb +++ b/lib/terraspace_bundler/cli/help.rb @@ -1,9 +1,11 @@ -module TerraspaceBundler::CLI::Help - class << self - def text(namespaced_command) - path = namespaced_command.to_s.gsub(':','/') - path = File.expand_path("../help/#{path}.md", __FILE__) - IO.read(path) if File.exist?(path) +class TerraspaceBundler::CLI + module Help + class << self + def text(namespaced_command) + path = namespaced_command.to_s.gsub(':','/') + path = File.expand_path("../help/#{path}.md", __FILE__) + IO.read(path) if File.exist?(path) + end end end end