Sha256: a48906312685eb9051f88c0315adb786fcede23f9e6c6b50c495b982c92393a2
Contents?: true
Size: 728 Bytes
Versions: 1
Compression:
Stored size: 728 Bytes
Contents
$:.unshift '../lib' $:.unshift 'tests' require 'dslkit/rude' class TL def initialize make_baz end thread_local :foo def make_baz instance_thread_local :baz end thread_global :bar end class IE def initialize(&block) @block = block end def exec instance_exec(&@block) end def foo :foo end end class C constant :foo, :foo end class DA dsl_accessor :foo dsl_accessor :bar, :bar dsl_accessor :baz do :baz end dsl_accessor :quux, :qu, :ux dsl_reader :on, true dsl_reader :off, false dsl_reader :states do [ on, off ] end dsl_reader :abc, *%w[a b c] end class I def foo :foo end def y 2 end end module D end require 'test_common'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dslkit-0.2.0 | tests/test_rude.rb |