module PrintObject
Public Instance Methods
printobject()
click to toggle source
# File lib/dsl/operators/plugins/print_object.rb, line 5 def printobject case @format when :plain ap @object when :json ap @object, indent: 2, index: false, multiline: true, plain: true, raw: true, sort_keys: true, sort_vars: true when :html ap @object, html: true when :raw puts @object end end
Also aliased as: print_object