Sha256: 94fee98c636fe72e7654f42eb58079ac5bf4fbee9c2d9e9b99ed89934dae6181
Contents?: true
Size: 692 Bytes
Versions: 2
Compression:
Stored size: 692 Bytes
Contents
module ExampleUnit include Nyanko::Unit shared(:shared) do |args| "shared #{args}" end scope(:controller) do function(:test) do "test" end function(:foo) do "foo" end function(:bar) do "bar" end function(:alias) do "alias" end end scope(:view) do function(:test) do "test" end function(:self) do self end function(:locals) do key end function(:shared) do shared("args") end function(:error) do raise_no_method_error end function(:helper) do unit.helper end end helpers do def helper "helper" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nyanko-0.0.4 | spec/fixtures/units/example_unit/example_unit.rb |
nyanko-0.0.3 | spec/fixtures/units/example_unit/example_unit.rb |