Displaying 3 results from an estimated 3 matches for "otherparam".
Did you mean:
otherparams
2014 Jul 18
1
capture.output on S4 slot
Hello,
capture.output produces a different result if the S4 object was created with a constructor than if the body of the constructor is copied and pasted.
setClass("TransformParams", representation(
transform = "function",
otherParams = "list")
)
setGeneric("TransformParams", function(transform, ...)
{standardGeneric("TransformParams")})
setMethod("TransformParams", character(0), function()
{
new("TransformParams", transform = function(){}, otherParams = list())
})
> capt...
2012 Jul 31
3
Access @resouce in custom type
...side a type?
I would like to make some decisions on parameters based on other parameters
that may have already been set.
For example,
---
newparam(:param1) do
Puppet.debug "Found drivesperarray parameter"
desc "parameter 1"
validate do |value|
if resource[:otherparam] then
#dosomething
else
resource[:param1] = 0
end
end
Puppet.debug "Parameter 1 is: #{@resource[:param1]}"
end
---
But I keep getting messages like "undefined method `[]'' for nil:NilClass"
Anyone have experience with this? I'...
2005 Aug 06
4
TDM400P - All extensions have same CallerID
I've been searching the forums and on the list to see if this has been
addressed. If it has, could someone point me to the thread to fix or at
least acknowledge it is an issue and what is causing it. Posting to the list
was last resort as I couldn't find a solution anywhere else.
Setup:
Asterisk@Home 1.3 (this is my first system, so path of least resistance)
Digium TDM400P (2 FXS on ports