Make sure .metadata shows up in Cask backtrace.
This commit is contained in:
parent
8a30be7442
commit
191b621815
@ -16,11 +16,11 @@ module Hbc
|
||||
end
|
||||
|
||||
def initialize(content)
|
||||
@content = content
|
||||
@content = content.force_encoding("UTF-8")
|
||||
end
|
||||
|
||||
def load
|
||||
instance_eval(content.force_encoding("UTF-8"), __FILE__, __LINE__)
|
||||
instance_eval(content, __FILE__, __LINE__)
|
||||
end
|
||||
|
||||
private
|
||||
@ -52,7 +52,7 @@ module Hbc
|
||||
|
||||
@content = IO.read(path)
|
||||
|
||||
super
|
||||
instance_eval(content, path)
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user