Sha256: 3728a999670660ac69625b0b200afb01be22b6e02a4e354b9e88a8421585ecf4
Contents?: true
Size: 645 Bytes
Versions: 1
Compression:
Stored size: 645 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 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nyanko-0.0.1 | spec/fixtures/units/example_unit/example_unit.rb |