Method: Vedeu::Interface#refresh

Defined in:
lib/vedeu/models/interface.rb

#refreshObject



53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# File 'lib/vedeu/models/interface.rb', line 53

def refresh
  if enqueued?
    self.current = dequeue

  elsif no_content?
    self.current = clear

  else
    self.current

  end
  Terminal.output(self.current)

  self.current
end