Sha256: 9c463c904e8be446951a382904bbdc734dab0c8f143fa808d12009f15a31d65d

Contents?: true

Size: 652 Bytes

Versions: 4

Compression:

Stored size: 652 Bytes

Contents

library :tryouts, 'lib'
group "Syntax"

tryouts "Dreams" do
  
  drill "dream inline", :muggsy do
    :muggsy
  end
  
  dream :muggsy
  drill "dream on top" do
    :muggsy
  end
  
  dream do
    :muggsy
  end
  drill "dream output in a block" do
    :muggsy
  end
  
  dream :class do
    Symbol
  end
  drill "dream with a format argument and a block" do
    :muggsy
  end
  
  ## NOTE: The following should raise a Runtime error b/c dreams takes 1 arg
  #
  ##dream :class, 2 do
  ##  Symbol
  ##end
  ##drill "dream with a format argument and a block" do
  ##  :muggsy
  ##end
  
  xdrill "this drill will fail b/c it has no dream", :muggsy
  
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
delano-tryouts-0.8.0 tryouts/15_dreams_tryouts.rb
delano-tryouts-0.8.1 tryouts/15_dreams_tryouts.rb
tryouts-0.8.0 tryouts/15_dreams_tryouts.rb
tryouts-0.8.1 tryouts/15_dreams_tryouts.rb