Minor cleanup in application example

This commit is contained in:
2018-04-07 00:27:10 +01:00
parent 6978dcde56
commit 7e320c65da
2 changed files with 3 additions and 2 deletions

View File

@@ -1,8 +1,7 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
$LOAD_PATH.unshift(File.expand_path('../../lib', File.realpath(__FILE__)))
require 'bunnyrun'
$LOAD_PATH.unshift(File.expand_path('../lib', File.realpath(__dir__)))
require 'foobar'
Foobar::Application.run(argv: ARGV)

View File

@@ -1,5 +1,7 @@
# frozen_string_literal: true
require 'bunnyrun'
require 'foobar/version'
module Foobar