Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Commit

Permalink
add implicit conversion to raw object when using Proxy as params to j…
Browse files Browse the repository at this point in the history
…ava methods
  • Loading branch information
ccutrer committed Jan 9, 2023
1 parent b7d0cc5 commit bf7615c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/openhab/core/proxy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,11 @@ def self.included(klass)
# define a sub-class of EventSubscriber as a child class of the including class
klass.const_set(:EventSubscriber, Class.new(EventSubscriber))
end

# @!visibility private
def to_java
__getobj__
end
end
end
end

0 comments on commit bf7615c

Please sign in to comment.