Module: Jenkins::Plugin::Wrapper

Extended by:
Behavior
Included in:
FilePath, Launcher, Launcher::Proc, Model::Build
Defined in:
lib/jenkins/plugin/wrapper.rb

Overview

Proxies provide a lens through which the Java world sees a Ruby object. On the other hand, Wrappers are a lens through which the Ruby world sees a Java object.

Defined Under Namespace

Modules: ClassMethods

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Behavior

extended, implemented, included

Methods included from Behavior::BehavesAs

#behaves_as

Instance Attribute Details

#nativeObject (readonly)

The native [java.lang.Object] which this object wraps



9
10
11
# File 'lib/jenkins/plugin/wrapper.rb', line 9

def native
  @native
end

Instance Method Details

#initialize(*args) ⇒ Object



11
12
13
# File 'lib/jenkins/plugin/wrapper.rb', line 11

def initialize(*args)
  @native, = *args
end