Class: RBridge::LazyFunc
- Inherits:
-
Object
- Object
- RBridge::LazyFunc
- Defined in:
- lib/r_bridge/r_bridge_lazyfunc_ext.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#env ⇒ Object
readonly
Returns the value of attribute env.
-
#fname ⇒ Object
readonly
Returns the value of attribute fname.
-
#ns ⇒ Object
readonly
Returns the value of attribute ns.
-
#param_manager ⇒ Object
readonly
Returns the value of attribute param_manager.
Instance Method Summary collapse
-
#initialize(ns, env, fname, arg_hash, param_manager) ⇒ LazyFunc
constructor
A new instance of LazyFunc.
Constructor Details
#initialize(ns, env, fname, arg_hash, param_manager) ⇒ LazyFunc
Returns a new instance of LazyFunc.
114 115 116 117 118 119 120 121 |
# File 'lib/r_bridge/r_bridge_lazyfunc_ext.rb', line 114 def initialize( ns, env, fname, arg_hash, param_manager) raise "LazyFunc requires RParamManager object for param_manager argument " if ! param_manager.is_a?(RParamManager) @ns = ns # When namespace does not need to be specified, set nil. @env = env # When environment does not need to be specified, set nil. @fname = fname @args = arg_hash @param_manager = param_manager end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
111 112 113 |
# File 'lib/r_bridge/r_bridge_lazyfunc_ext.rb', line 111 def args @args end |
#env ⇒ Object (readonly)
Returns the value of attribute env.
109 110 111 |
# File 'lib/r_bridge/r_bridge_lazyfunc_ext.rb', line 109 def env @env end |
#fname ⇒ Object (readonly)
Returns the value of attribute fname.
110 111 112 |
# File 'lib/r_bridge/r_bridge_lazyfunc_ext.rb', line 110 def fname @fname end |
#ns ⇒ Object (readonly)
Returns the value of attribute ns.
108 109 110 |
# File 'lib/r_bridge/r_bridge_lazyfunc_ext.rb', line 108 def ns @ns end |
#param_manager ⇒ Object (readonly)
Returns the value of attribute param_manager.
112 113 114 |
# File 'lib/r_bridge/r_bridge_lazyfunc_ext.rb', line 112 def param_manager @param_manager end |