Sha256: 902032fc839ae43f45bb6585d156ce5963314e59f134e9fe3b86c1e3033bba59

Contents?: true

Size: 215 Bytes

Versions: 18

Compression:

Stored size: 215 Bytes

Contents

def by(message)
  if block_given?
    yield
  else
    pending message
  end
end

alias and_by by

def and_it(message)
  if block_given?
    $stdout.puts "#{message},"
    yield
  else
    pending message
  end
end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
newsletter-3.2.25.1 spec/test_app/spec/support/continuances.rb
mail_manager-3.2.25.1 spec/test_app/spec/support/continuance.rb
newsletter-3.2.22.0 spec/test_app/spec/support/continuances.rb
mail_manager-3.2.22.0 spec/test_app/spec/support/continuance.rb
mail_manager-3.2.7 spec/test_app/spec/support/continuance.rb
newsletter-3.2.7 spec/test_app/spec/support/continuances.rb
mail_manager-3.2.6 spec/test_app/spec/support/continuance.rb
mail_manager-3.2.5 spec/test_app/spec/support/continuance.rb
newsletter-3.2.6 spec/test_app/spec/support/continuances.rb
newsletter-3.2.5 spec/test_app/spec/support/continuances.rb
newsletter-3.2.4 spec/test_app/spec/support/continuances.rb
mail_manager-3.2.4 spec/test_app/spec/support/continuance.rb
mail_manager-3.2.2 spec/test_app/spec/support/continuance.rb
newsletter-3.2.2 spec/test_app/spec/support/continuances.rb
mail_manager-3.2.1 spec/test_app/spec/support/continuance.rb
newsletter-3.2.1 spec/test_app/spec/support/continuances.rb
newsletter-3.2.0 spec/test_app/spec/support/continuances.rb
mail_manager-3.2.0 spec/test_app/spec/support/continuance.rb