Module: Fairy::Interface
- Defined in:
- lib/fairy/client/barrier.rb
Instance Method Summary collapse
Instance Method Details
#barrier(opts = nil) ⇒ Object
12 13 14 15 16 17 18 19 |
# File 'lib/fairy/client/barrier.rb', line 12 def (opts = nil) if opts[:cond].kind_of?(String) opts[:cond] = BlockSource.new(opts[:cond]) end = Barrier.new(@fairy, opts) .input = self end |