Sha256: 08ed15b1aca3d5163e80b14a765d849ec7ff3e9cdad019bd8ab087a148f1eddf

Contents?: true

Size: 393 Bytes

Versions: 1

Compression:

Stored size: 393 Bytes

Contents

class VadersController < Xip::Controller
  def my_action
    raise "oops"
  end

  def my_action2

  end

  def my_action3
    do_nothing
  end

  def action_with_unrecognized_msg
    handle_message(
      'hello' => proc { puts "Hello world!" },
      'bye' => proc { puts "Goodbye world!" }
    )
  end

  def action_with_unrecognized_match
    match = get_match(['hello', 'bye'])
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xip-2.0.0.beta2 spec/support/controllers/vaders_controller.rb