Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/policy_assertions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def get_permissions(permissions)

def calling_method
if PolicyAssertions.config.ruby_version > 1
caller_locations(3, 1)[0].label
caller_locations(3, 1)[0].label.split('#').last
else
caller[2][/`.*'/][1..-2]
end
Expand Down