class Minitest::Glitch
Constants
- VERSION
Attributes
io[R]
Public Class Methods
glitch!()
click to toggle source
# File lib/minitest/glitch_plugin.rb, line 34 def self.glitch! @glitch = true end
glitch?()
click to toggle source
# File lib/minitest/glitch_plugin.rb, line 38 def self.glitch? @glitch ||= false end
new(io)
click to toggle source
# File lib/minitest/glitch_plugin.rb, line 42 def initialize io @io = io end
Public Instance Methods
char()
click to toggle source
# File lib/minitest/glitch_plugin.rb, line 46 def char %w( Ȋ̷͗ͯ̌͂̈̅́ͭ̋̎ͭ̈̑́̀͏͓̥̟ ̢̢̏̈ͩ͋͏̖̝͇̘̹̤lͪ̓̃͗̄̑ͤ̉̌́ͤͬ̋̆͛͑ͣ͝͏̥̠͖͈̙̼̲̞̯͉͎̰̖̳͖͙͠ͅí̛̦̤̦͇̫̥͚̙͒̄́͆͛̅̋̀͌͒́͠ͅk̶͗͌̑ͭ͒͐́̓̉̂͌̅̚͏̻͚͙̥̥̳̮̖̙̰̯̲̲e̶̛͈̣͖̥̼̭͍̝̤͎͈̤̊ͣ̐ͬ̅ͣ͐ͬ̈̓̄ͫ͋̽͜ͅ ̛̫͉͈̖̪̬͎̟̥͇ͪ̄ͩ̏̑́ę̛̯͈̮̬͇̥̻͉ͧͥ͐̒̐͒̃̈̿̓́͂͒ͥͦm̡̧͕̰͎͓͓̱̪̘͓͚̼̮̤̭͎͉͖͕̃̿ͣ̅͊ͪ͛̀ͤͮ̌̐ͨ͒̊o̼͇̱͕̖̜̥̻̲̥̘̔̍̀͐̈̀̆̾ͩ̀̄̋̃ͤ̀̚͠j̡̻̼̪̠͚̝̣͈̘̜̬̥̘̮̻̞̪̮͛̈́̑̃̆̏̐͛ͯ̏͊ͮ̄̍͐ͧ͆̑̏͘ͅi̷͎͇͔̱̖͛̾͂͊̋̃̅̑̋ͧ͊̄ͤͮ̋́'̔͗ͦ͒̔ͪ̍̊̊́̋ͥ̐̈́̕͜͏̶͏̼̩̳̟̗͍̲͔̲̖̳ͅͅͅs͊͐ͩ̑̇̌̓͐͐̑ͥ̾ͥ̄̽͏̸̳̞͉̫͝,̛̞͍͓̈́́̾̊̃͢ ̶̢ͥ̃͌̑͒ͤͫ̿͋̀̚̚͜͠͏̦̝̫̬ͅtͯ̃́ͥ͐̿͏̨̨̛̱͔̻͖̬̯̩̝̟̠̣̬̯̼̀h̟͕͉͔̠̬͇̝̼̤̝̖̪͚͈͚̪̱ͥͫͪͣ̎ͮͤ͌ͩ͆̊̿͘͟ȇ̷̓̃̎̆ͯ̀̃̆̌ͨͫ̋͛̑҉̸̥̳̰͎̦̥͈͕͍͜͜y̶̢̮̙̪͙̏̓͗̂̊ͥ̐͠͞'ͭ͆ͮ̈̍҉̟͎̞̱̟̥̻̯̖̯̘̱̮̬̺̩̙͟r̹͖͎̘̯̻̠̘͔͈̍́ͫ̆̾͛͂ͤͤ̓̓ͯ͢͢ͅȩ̶̷̯̩͍͙̗͇̝̳͍̦̭͎̺̖̣͍ͬͥ̀͋ͨ̂ͤ͑̓̐̒͋͆ͬ͆͛̓̓̀̚͡ ̸̵̵̩̳͙̘͕̥̲͇̥̘̻̤̹͕̗̩̪̊ͤ̊ͭ̍̄̈́̒͢ͅc̡̲͓̜̓̔̏͗̎̀̃̃͊̀͜͟ͅo̖̩͈̞̝̟̗̬̩̝͕͕̎͐ͫ͆͌ͤͣ́ͨͩͪ͛ͯͥͨ́̀o̢̟̩̰̗͓̠̳̣̲͔̐̃͛̊ͯ̌̆͞͝ľ̷͛̿͋̏͌́̾̅̉͆ͫͩ͟҉͜͏̠̞͓̹͕̗͖̼͖̱̪̱̞̘̰!̶̖͖̤̘̠̮̙̺̱̽̿̇ͮ̑ͦ̃͑ͥ͒̎͌ͨ͋̽͌̓̆̀̀̀ ).sample() end
method_missing(msg, *args)
click to toggle source
Calls superclass method
# File lib/minitest/glitch_plugin.rb, line 63 def method_missing msg, *args return super unless io.respond_to? msg io.send(msg, *args) end
print(o)
click to toggle source
# File lib/minitest/glitch_plugin.rb, line 52 def print o case o when "." then io.print char when "E", "F" then io.print "#{ESC}41m#{ESC}37m#{char}#{NND}" else io.print char end end