search for: sometempl

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

2007 Mar 26
5
Developer work cycle
Hi! I've been browsing through the last months' archive and I can't find an answer to my question, so here it is (let's hope it's not too obvious): I'm working on extensions of an R library, and I would be very surprised if everyone developing R packages is doing the following, as I do: 1.- Write down a modification of an R file 2.- Exit the current R
2006 Apr 03
0
documentation question (ri and binding vs. get_binding vd getBinding)
I was reading up on ERB documentation and a snippet on rhtml requiring the use of Object.get_binding caught my attention: ... rhtml = ERB.new("someTemplate") rhtml.run(someObject.get_binding) ... Curious about tools I have at my disposal to learn more about things I don''t know about Ruby, i typed the following into my DOS console: ri get_binding and got the following disappointing message: Nothing known about get_binding Since I...
2005 Oct 02
1
rendering if template exists
...t to do. On the other hand if I render the partial template to a string, than I''d be limiting myself to a specific implementation. In a few days, I''ll be coding different related items logic. I''m just wondering if there is anything like render :partial => "sometemplate" if FileTest.exists? <a neat way to access the template''s full path> Thanks in advance for any tips on design would be most welcome. Regards, Oyku.
2013 Nov 21
1
saving copy of template on puppetmaster
...39;t find anything useful. The closest thing was the "backup" feature of file resource what I think does exactly what I want, but for the previous version, not the current one. so, by example, given the following definition: file { "/some/file": source => template("sometemplate"); } I want to have the /some/file contents on puppetmaster server too, not only on the client. I see in the docs that I can do something like: $variable = template("xx"); but how to put that then in the file on the puppetmaster? -- You received this message because you are...