Sha256: f74b33aac2d824c4e267c18f7d2894835330ebdbeedb5255d9a30595d2595a72

Contents?: true

Size: 394 Bytes

Versions: 11

Compression:

Stored size: 394 Bytes

Contents

require 'mutter'

class String
  def examine depth = 0
    inspect
  end
end

class Array
  def examine depth = 0
  end
end

class Hash
  def examine depth = 0
  end
end

class Symbol
  def examine depth = 0
    Mutter.stylize inspect, :purple
  end
end

class Numeric
  def examine depth = 0
    Mutter.stylize inspect, :cyan
  end
end

class Object
  def tap
    yield self
    self
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
cloudhead-mutter-0.2.0 lib/ext.rb
cloudhead-mutter-0.3.0 lib/ext.rb
cloudhead-mutter-0.3.1 lib/ext.rb
cloudhead-mutter-0.3.2 lib/ext.rb
cloudhead-mutter-0.3.3 lib/ext.rb
cloudhead-mutter-0.3.5 lib/ext.rb
mutter-0.4.0 lib/ext.rb
mutter-0.3.7 lib/ext.rb
mutter-0.3.6 lib/ext.rb
mutter-0.3.3 lib/ext.rb
mutter-0.3.2 lib/ext.rb