Sha256: 1064e281ca2dba36efb0a8bc92145179af480e0ad8696581ec310f7d16e252f5

Contents?: true

Size: 440 Bytes

Versions: 4

Compression:

Stored size: 440 Bytes

Contents

class TravianBot
  class Application
    module Display
      def h1(text)
        puts ' '
        puts "#{text}"
        puts "=" * text.length
        puts ' '
        puts ' '
      end
      
      def h2(text)
        puts "#{text}"
        puts "-" * text.length
        puts ' '
      end
      
      def text(text)
        puts text
        puts ' '
      end
      
      def new_line
        puts ' '
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
travian_bot-0.2.3 lib/travian_bot/application/display.rb
travian_bot-0.2.2 lib/travian_bot/application/display.rb
travian_bot-0.2.1 lib/travian_bot/application/display.rb
travian_bot-0.2.0 lib/travian_bot/application/display.rb