mirror of
https://github.com/jimeh/bunnyrun.git
synced 2026-02-18 23:46:39 +00:00
Minor cleanup in application example
This commit is contained in:
@@ -1,8 +1,7 @@
|
|||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
$LOAD_PATH.unshift(File.expand_path('../../lib', File.realpath(__FILE__)))
|
$LOAD_PATH.unshift(File.expand_path('../lib', File.realpath(__dir__)))
|
||||||
require 'bunnyrun'
|
|
||||||
require 'foobar'
|
require 'foobar'
|
||||||
|
|
||||||
Foobar::Application.run(argv: ARGV)
|
Foobar::Application.run(argv: ARGV)
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
require 'bunnyrun'
|
||||||
|
|
||||||
require 'foobar/version'
|
require 'foobar/version'
|
||||||
|
|
||||||
module Foobar
|
module Foobar
|
||||||
|
|||||||
Reference in New Issue
Block a user