Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5478943da163
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d574af6b7ccd
Choose a head ref
  • 4 commits
  • 1 file changed
  • 1 contributor

Commits on Apr 22, 2015

  1. Add java_method, java_alias, and java_send to interface modules.

    Part of improvements to support #2857. Specs pending.
    headius committed Apr 22, 2015
    Copy the full SHA
    563c402 View commit details
  2. Copy the full SHA
    a9157cb View commit details
  3. Copy the full SHA
    714a84c View commit details
  4. Copy the full SHA
    d574af6 View commit details
Showing with 8 additions and 0 deletions.
  1. +8 −0 spec/java_integration/interfaces/static_methods_spec.rb
8 changes: 8 additions & 0 deletions spec/java_integration/interfaces/static_methods_spec.rb
Original file line number Diff line number Diff line change
@@ -25,5 +25,13 @@
it "binds those methods on the proxy module" do
expect(Java::Java8Interface.message).to eq("hello")
end

it "exposes those methods via java_send" do
expect(Java::Java8Interface.java_send(:message)).to eq("hello")
end

it "exposes those methods via java_method" do
expect(Java::Java8Interface.java_method(:message).call).to eq("hello")
end
end
end