Sha256: d5f410da002e935bf048f2c5732662a3f8aeeaf5779aacec4fbc9427de08541b

Contents?: true

Size: 240 Bytes

Versions: 2

Compression:

Stored size: 240 Bytes

Contents

require "zomba/core"

module Zomba
  class Spitter
    def initialize
      @spit = Zomba::Core.new.read_file.sample(1).first
    end
    def to_s
      return @spit
    end

    def self.spit
      return Spitter.new.to_s
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
zomba-0.5.2 lib/zomba/spitter.rb
zomba-0.4.0 lib/zomba/spitter.rb