Sha256: b142e84747dd98485900136722222333f9c0f19353f9b18b72d8a93a235cfda0

Contents?: true

Size: 253 Bytes

Versions: 2

Compression:

Stored size: 253 Bytes

Contents

# frozen_string_literal: true

require 'tty-screen'

module Junction
  module Screens
    class Main
      def render
        puts 'Welcome to Junction!'
        puts "Screen size: #{TTY::Screen.width}x#{TTY::Screen.height}"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
junction-0.1.7 lib/junction/screens/main.rb
junction-0.1.6 lib/junction/screens/main.rb