Sha256: b634841facfaa1ab6e2233276e4fe0e04cf0a90676379cf8d0a734a849e96dba

Contents?: true

Size: 558 Bytes

Versions: 5

Compression:

Stored size: 558 Bytes

Contents

module FuckingGoddamnNew

  DICTIONARY = %w[
    ass
    bitch
    chickenfucker
    cocksucker
    cunt
    damn
    dick
    fuck
    fucking
    god
    goddammit
    goddamn
    motherfucker
    piece_of_shit
    piss
    shit
    tits
  ]

  DICTIONARY.each do |word|
    yell = "#{ word }!"
    define_method(word) { |*args| self } unless respond_to?(word)
    define_method(yell) { |*args| self } unless respond_to?(yell)
  end

  def self.extended base
    base.instance_eval { include FuckingGoddamnNew }
  end

end

Object.extend FuckingGoddamnNew

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fucking_goddamn_new-1.0.4 lib/fucking_goddamn_new.rb
fucking_goddamn_new-1.0.3 lib/fucking_goddamn_new.rb
fucking_goddamn_new-1.0.2 lib/fucking_goddamn_new.rb
fucking_goddamn_new-1.0.1 lib/fucking_goddamn_new.rb
fucking_goddamn_new-1.0.0 lib/fucking_goddamn_new.rb