Sha256: 52bc347183272438138832b5dead4312948e319e60b9a6f0b59d6e52549d0922

Contents?: true

Size: 215 Bytes

Versions: 1

Compression:

Stored size: 215 Bytes

Contents

module Playable
  def blam
    self.health -= 10
    puts "#{self.name} got blammed!"
  end

  def w00t
    self.health += 15
    puts "#{self.name} got w00ted!"
  end

  def strong?
    self.health > 100
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bennetts_magical_gem-1.0.0 lib/studio_game/playable.rb