Sha256: ce9e1c63e19175e1af98cbb5349a6c5b3e2f99737a49ddaabe5d7215c0927983

Contents?: true

Size: 227 Bytes

Versions: 1

Compression:

Stored size: 227 Bytes

Contents

require_relative 'spells'

class SpellGenerator::Generator
  def self.generate
    "#{SPELL_SET1[rand(0..9)]} #{SPELL_SET2[rand(0..9)]}"
  end

  def generate
    "#{SPELL_SET1[rand(0..9)]} #{SPELL_SET2[rand(0..9)]}"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spell_generator-0.1.0 lib/spell_generator/generator.rb