search for: myutils

Displaying 4 results from an estimated 4 matches for "myutils".

Did you mean: mlutils
2006 Jun 07
3
function to be used in model
Where is the best place to put a function that will be used in both several controller and several models? -- Posted via http://www.ruby-forum.com/.
2016 Oct 03
2
On implementing zero-overhead code reuse
...er: > either stay writing little scripts that one sources from an > interactive session, or learn to implement packages. There's too > little in-between. I know it's flogging the same horse, but for the non-expert I create and attach a complete package devtools::create("myutils") library(myutils) Of course it doesn't do anything, so I write my code by editing a plain text file myutils/R/foo.R to contain foo = function() "hello wirld" then return to my still-running R session and install the updated package and use my new function devtools...
2007 Aug 20
1
Common routines for custom functions
Hello I want to share some common subroutines between my custom functions. Given the way Puppet loads the .rb files in $plugindest/puppet/parser/functions, does anyone know how should I lay this out? I tried creating a module myutilities def self.blah() ... end end (NOT within the newfunction() call) in one of the (top-level) functions'' .rb file. However, calling
2016 Oct 03
3
On implementing zero-overhead code reuse
On Mon, Oct 3, 2016 at 10:18 AM, <frederik at ofb.net> wrote: > Hi Kynn, > > Thanks for expanding. > > I wrote a function like yours when I first started using R. It's > basically the same up to your "new.env()" line, I don't do anything > with environmentns. I just called my function "mysource" and it's > essentially a "source