class ChefCore::Text::TextWrapper::TextError
TODO - make the checks for these conditions lint steps that run during build
instead of part of the shipped product.
Attributes
line[RW]
Public Instance Methods
set_call_context()
click to toggle source
# File lib/chef_core/text/text_wrapper.rb, line 57 def set_call_context # TODO - this can vary (8 isn't always right) - inspect @line = caller(8, 1).first if @line =~ %r{.*/lib/(.*\.rb):(\d+)} @line = "File: #{$1} Line: #{$2}" end end