Sha256: 014a1f0811c10d8035d879fcb471aae52b970ac8c79ee01e205b83b4931e3baf

Contents?: true

Size: 188 Bytes

Versions: 54

Compression:

Stored size: 188 Bytes

Contents

class Object

  def j
    to_json
  end

  def jj
    JSON.pretty_generate(JSON.parse(to_json))
  end

  def jp
    puts j
  end

  def jjp
    puts jj
  end

  def a
    [self]
  end
end

Version data entries

54 entries across 54 versions & 3 rubygems

Version Path
arql-0.3.31 lib/arql/ext/object.rb
arql-0.3.30 lib/arql/ext/object.rb
crudboy-0.1.5 lib/crudboy/ext/object.rb
arql-0.3.29 lib/arql/ext/object.rb
arql-0.3.28 lib/arql/ext/object.rb
arql-0.3.27 lib/arql/ext/object.rb
arql-0.3.26 lib/arql/ext/object.rb
arql-0.3.25 lib/arql/ext/object.rb
arql-0.3.24 lib/arql/ext/object.rb
arql-0.3.23 lib/arql/ext/object.rb
crudboy-0.1.4 lib/crudboy/ext/object.rb
arql-0.3.22 lib/arql/ext/object.rb
arql-0.3.21 lib/arql/ext/object.rb
arql-0.3.20 lib/arql/ext/object.rb
arql-0.3.19 lib/arql/ext/object.rb
pry-helper-0.1.3 lib/pry-helper/ext/object.rb
pry-helper-0.1.2 lib/pry-helper/ext/object.rb
arql-0.3.18 lib/arql/ext/object.rb
arql-0.3.17 lib/arql/ext/object.rb
arql-0.3.16 lib/arql/ext/object.rb