Sha256: bc1d4bdc77bda5cc0923c6e3b389af64dab0413c952f4eb5767752ea9046d370

Contents?: true

Size: 227 Bytes

Versions: 8

Compression:

Stored size: 227 Bytes

Contents

class WalrusJob < Struct.new(:action)
  def perform
    "Nice try, but there's no way I'll #{action}.."
  end
end

class AngryWalrusJob < Struct.new(:angryness)
  def perform
    raise "I am this angry: #{angryness}"
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
localjob-0.4.1 test/jobs.rb
localjob-0.4.0 test/jobs.rb
localjob-0.3.0 test/jobs.rb
localjob-0.2.0 test/jobs.rb
localjob-0.1.1 test/jobs.rb
localjob-0.1.0 test/jobs.rb
localjob-0.0.2 test/jobs.rb
localjob-0.0.1 test/jobs.rb