Sha256: 6db11874f489a1962e5a0a48d35f1029996f7ac803a612410bb6fab7f0659064
Contents?: true
Size: 240 Bytes
Versions: 5
Compression:
Stored size: 240 Bytes
Contents
class FooHelper < Sexpr::Processor::Helper module Methods end def on_hello(rw, sexpr) raise unless rw.is_a?(FooProcessor) [:foo_hello, yield(rw, sexpr)] end end class FooProcessor < Sexpr::Processor helper FooHelper end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
sexpr-1.1.0 | spec/fixtures/foo.rb |
sexpr-1.0.0 | spec/fixtures/foo.rb |
sexpr-0.6.0 | spec/fixtures/foo.rb |
sexpr-0.5.1 | spec/fixtures/foo.rb |
sexpr-0.5.0 | spec/fixtures/foo.rb |