Sha256: ba5c565dbcbe24a476486551551bcc10f2fa438c707214393d5425ed915ede39

Contents?: true

Size: 180 Bytes

Versions: 6

Compression:

Stored size: 180 Bytes

Contents

class Mumukit::Assistant::Rule::Base
  attr_accessor :message
  def initialize(message)
    @message = message
  end

  def message_for(retries)
    message.call(retries)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mumukit-assistant-0.4.0 lib/mumukit/assistant/rule/base.rb
mumukit-assistant-0.3.0 lib/mumukit/assistant/rule/base.rb
mumukit-assistant-0.2.1 lib/mumukit/assistant/rule/base.rb
mumukit-assistant-0.2.0 lib/mumukit/assistant/rule/base.rb
mumukit-assistant-0.1.1 lib/mumukit/assistant/rule/base.rb
mumukit-assistant-0.1.0 lib/mumukit/assistant/rule/base.rb