Class: Struct

Inherits:
Object
  • Object
show all
Defined in:
lib/roadworker/struct-ext.rb

Instance Method Summary collapse

Instance Method Details

#pretty_print(q) ⇒ Object



2
3
4
# File 'lib/roadworker/struct-ext.rb', line 2

def pretty_print(q)
  self.to_h.pretty_print(q)
end

#pretty_print_cycle(q) ⇒ Object



6
7
8
# File 'lib/roadworker/struct-ext.rb', line 6

def pretty_print_cycle(q)
  self.to_h.pretty_print_cycle(q)
end