Sha256: b5279d24aacde8336757088a7848ec23c77d78b0564b93ab95bed6392fe08dcb

Contents?: true

Size: 162 Bytes

Versions: 28

Compression:

Stored size: 162 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
end

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
arql-0.1.18 lib/arql/ext/object.rb
arql-0.1.17 lib/arql/ext/object.rb
arql-0.1.16 lib/arql/ext/object.rb
arql-0.1.15 lib/arql/ext/object.rb
arql-0.1.14 lib/arql/ext/object.rb
arql-0.1.13 lib/arql/ext/object.rb
arql-0.1.12 lib/arql/ext/object.rb
arql-0.1.11 lib/arql/ext/object.rb