Sha256: 82d378dcb6bdd1abb4233a770c22e8d36e0607a67e27ec4369ab0afaf15f1528

Contents?: true

Size: 252 Bytes

Versions: 33

Compression:

Stored size: 252 Bytes

Contents

require 'erb'

module Commander
  module HelpFormatter
    class TerminalCompact < Terminal
      def template(name)
        ERB.new(File.read(File.join(File.dirname(__FILE__), 'terminal_compact', "#{name}.erb")), nil, '-')
      end
    end
  end
end

Version data entries

33 entries across 33 versions & 6 rubygems

Version Path
commander-4.4.3 lib/commander/help_formatters/terminal_compact.rb
commander-4.4.2 lib/commander/help_formatters/terminal_compact.rb
commander-4.4.1 lib/commander/help_formatters/terminal_compact.rb
simple_commander-0.0.1 lib/simple_commander/help_formatters/terminal_compact.rb
commander-4.4.0 lib/commander/help_formatters/terminal_compact.rb
commander-4.3.8 lib/commander/help_formatters/terminal_compact.rb
commander-4.3.7 lib/commander/help_formatters/terminal_compact.rb
commander-4.3.5 lib/commander/help_formatters/terminal_compact.rb
scoot-0.0.4 .bundle/gems/ruby/2.2.0/gems/commander-4.3.4/lib/commander/help_formatters/terminal_compact.rb
commander-4.3.4 lib/commander/help_formatters/terminal_compact.rb
commander-4.3.3 lib/commander/help_formatters/terminal_compact.rb
commander-4.3.2 lib/commander/help_formatters/terminal_compact.rb
commander-4.3.1 lib/commander/help_formatters/terminal_compact.rb