Skip to content

Commit

Permalink
Remove unused private method
Browse files Browse the repository at this point in the history
  • Loading branch information
mhashizume committed Dec 11, 2023
1 parent f64b017 commit 89b793a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/puppet/pops/evaluator/runtime3_support.rb
Original file line number Diff line number Diff line change
Expand Up @@ -460,12 +460,6 @@ def is_true?(value, o)
end
end

# Utility method for TrueClass || FalseClass
# @param x [Object] the object to test if it is instance of TrueClass or FalseClass
def is_boolean? x
x.is_a?(TrueClass) || x.is_a?(FalseClass)
end

def extract_file_line(o)
o.is_a?(Model::Positioned) ? [o.file, o.line] : [nil, -1]
end
Expand Down

0 comments on commit 89b793a

Please sign in to comment.