ccutrer / openhab-jrubyscripting

JRuby Libraries for Openhab
Eclipse Public License 2.0
1 stars 1 forks source link

DSL methods override user's method on the top level #167

Open jimtng opened 1 year ago

jimtng commented 1 year ago

I have a script like this:

def debounce(a)
  logger.info a
end

debounce(3)

It isn't calling my debounce method. Instead, it calls OpenHAB::DSL.debounce.