mirror of
https://github.com/inspec/inspec
synced 2024-11-26 06:30:26 +00:00
Allow no args to plain_line
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
parent
a349f91e52
commit
1ef8cc9916
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ module Inspec
|
|||
print_or_return(str.to_s, opts[:print])
|
||||
end
|
||||
|
||||
def plain_line(str, opts = { print: true })
|
||||
def plain_line(str = '', opts = { print: true })
|
||||
print_or_return(str.to_s + "\n", opts[:print])
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue