Module: MeasureEvent
- Extended by:
- Press
- Defined in:
- lib/example.rb
Class Method Summary collapse
Methods included from Press
cpd, cpdfm, ctx, mctx, mpd, mpde, mpdfm, mpdfme, mtx, pd, pde, pdfm, pdfme, spd, spdfm, xpd, xpde, xpdfm, xpdfme
Class Method Details
.run ⇒ Object
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 |
# File 'lib/example.rb', line 85 def self.run puts "########## running ##########" cpd hello: "world", event: "sunset" puts r = mpd hello: "world", event: "sunset" do 42 end puts r puts cpdfm __FILE__, __method__, hello: "world", event: "sunset" puts r = mpdfm __FILE__, __method__, hello: "world", event: "sunset" do 42 end puts r puts begin 1 / 0 rescue => e cpde e, hello: "world", event: "sunset" cpdfme __FILE__, __method__, e, hello: "world", event: "sunset" end puts mpd hello: "world", event: "sunset" do 1 / 0 end rescue puts mpdfm __FILE__, __method__, hello: "world", event: "sunset" do 1 / 0 end rescue puts end |