Sha256: d73eb53ddc813b744695d100b4a819a16c59916a3aaab1b710f4f79fc3d93764
Contents?: true
Size: 468 Bytes
Versions: 1
Compression:
Stored size: 468 Bytes
Contents
class ExtendedServerCaller < ServerCaller js_properties :title => "Extended Server Caller" js_method :on_bug_server, <<-JS function(){ #{js_full_class_name}.superclass.onBugServer.call(this); this.getBottomToolbar().addButton({text: "Added" + " by extended Server Caller"}); this.getBottomToolbar().doLayout(); } JS def whats_up(params) orig = super orig.merge(:set_title => orig[:set_title] + ", shiny weather") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
netzke-core-0.6.3 | test/rails_app/app/components/extended_server_caller.rb |