Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/crudboy/ext/object.rb
Instance Method Summary collapse
Instance Method Details
#a ⇒ Object
19 20 21 |
# File 'lib/crudboy/ext/object.rb', line 19 def a [self] end |
#j ⇒ Object
3 4 5 |
# File 'lib/crudboy/ext/object.rb', line 3 def j to_json end |
#jj ⇒ Object
7 8 9 |
# File 'lib/crudboy/ext/object.rb', line 7 def jj JSON.pretty_generate(JSON.parse(to_json)) end |
#jjp ⇒ Object
15 16 17 |
# File 'lib/crudboy/ext/object.rb', line 15 def jjp puts jj end |
#jp ⇒ Object
11 12 13 |
# File 'lib/crudboy/ext/object.rb', line 11 def jp puts j end |