Sha256: 92b61701f2e33d4f06532a4e4f0ccd9b9bf0c26a451720534d0486f0840d6832
Contents?: true
Size: 767 Bytes
Versions: 22
Compression:
Stored size: 767 Bytes
Contents
// ========================================================================== // TestRunner.Test // ========================================================================== require('core'); TestRunner.Test = SC.Record.extend({ // TODO: Add your own code here. title: function() { if (!this._title) { var parts = (this.get('name') || '').split('/') ; var ret = parts.pop() || '' ; this._title = ret.replace(/\.rhtml$/,'').replace(/_/g,' '); } return this._title ; }.property('name'), group: function() { if (!this._group) { var parts = (this.get('name') || '').split('/') ; this._group = parts.slice(0,parts.length-1).join('/').toLowerCase() ; } return this._group; }.property('name') }) ;
Version data entries
22 entries across 22 versions & 1 rubygems