Sha256: 9c17182e6f29bd509ad5ae7a07c3cc0f9b465ad911d6876abe5ff301d1132a06

Contents?: true

Size: 348 Bytes

Versions: 3

Compression:

Stored size: 348 Bytes

Contents

# frozen_string_literal: true

require_relative 'make_menu/console/color_string'
require_relative 'make_menu/menu'

require 'tty-screen'

module MakeMenu
  String.include MakeMenu::Console::ColorString

  trap('SIGINT') { throw StandardError }

  def self.run(makefile = './Makefile', &block)
    MakeMenu::Menu.new(makefile).run(&block)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
make_menu-2.0.0 lib/make_menu.rb
make_menu-1.1.0 lib/make_menu.rb
make_menu-1.0.0 lib/make_menu.rb