Sha256: a84cdee308774d5d91c48148fe625e2a61b52c3c555fa0eee81618794124e2a9
Contents?: true
Size: 337 Bytes
Versions: 1
Compression:
Stored size: 337 Bytes
Contents
require 'main' Main { argument 'x' do arity 2 error :before do |e| p e puts 'this fires *before* normal error handling using #instance_eval...' end error do |e| p e puts 'this fires *instead of* normal error handling using #instance_eval...' end end run(){ p param['x'].given? } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
main-2.2.0 | a.rb |