search for: myclassnam

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

Did you mean: myclassname
2009 May 09
1
"Overloading" some non-dispatched S3 methods for new classes
...where. It only contains "metadata". I would like to be able to retrieve data from my objects such as the number of rows, the number of columns, the colnames, etc. I --quite naively-- thought that ncol, nrow, colnames, etc. would be dispatched, so I would only need to create a, say, ncol.myclassname function so as to be able to invoke "ncol" directly and transparently. However, it is not the case. The only alternative I can think about is to create decorated versions of ncol, nrow, etc. to avoid naming conflicts. But I would still prefer my package users to be able to use the undec...
2011 May 23
3
How can I use option --bare in Rails 3.1 for CoffeeScript?
Someone know how can I use this option in Rails 3.1? Now CoffeScript puts a function ".call(this)" on each file, but I want to remove this. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this
2006 Feb 10
13
Element.observe () binding
...k'', function () { this.className += " myClass"; return false; }); I have also tried doing this: this.varname = ''test''; Event.observe(el, ''click'', function () { alert (this.varname); }.bind (this)); However these calls both fail: this.myClassName = ''myClass''; Event.observe(el, ''click'', function () { this.className += " "+ this.myClassName; return false; }.bind(this)); or this.myClassName = ''myClass''; Event.observe(el, ''click'', function () { this.classNam...
2006 May 04
5
How to insert styles with Insertion
Hi, I''m having difficulty using Prototype''s Insertion method to insert styles into a document node. Code like this seems to fail: new Insertion.Top(widgets[i], ''<style type="text/css"></style>''); When I inspect the DOM, the style is nowhere to be found. Any ideas on how to get this to work? Thank you, Jeff Rankin Human Factors 544-4333