Skip to content

Commit 55aef3f

Browse files
committed
rubocop
1 parent 0bd2896 commit 55aef3f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ikazuchi.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
lib = File.expand_path('../lib', __FILE__)
1+
lib = File.expand_path('lib', __dir__)
22
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
33
require 'ikazuchi/version'
44
require 'ikazuchi/definition'

lib/ikazuchi/definition.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
module Ikazuchi
33
class Definition
44
def root
5-
@root ||= File.expand_path '../../../', __FILE__
5+
@root ||= File.expand_path '../..', __dir__
66
end
77

88
def gemfile
9-
@gemfile ||= File.expand_path '../Gemfile', __FILE__
9+
@gemfile ||= File.expand_path 'Gemfile', __dir__
1010
end
1111

1212
def definition

0 commit comments

Comments
 (0)