Sha256: 3f6aef132681379aa0795ca9e1af151d3e8c565e4bf7b3c691aec78dea5b3484

Contents?: true

Size: 321 Bytes

Versions: 2

Compression:

Stored size: 321 Bytes

Contents

module Relish
  module Command
    class Config < Base
      
      def default
        show
      end
      
      def show
        puts(if File.exists?(LOCAL_OPTIONS_FILE)
          IO.read(LOCAL_OPTIONS_FILE)
        else
          "No #{LOCAL_OPTIONS_FILE} file exists"
        end)
      end
      
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
relish-0.0.5 lib/relish/commands/config.rb
relish-0.0.4 lib/relish/commands/config.rb