Method: Oxidized::Nodes#get

Defined in:
lib/oxidized/nodes.rb

#getString

Returns node from the head of the array.

Returns:

  • (String)

    node from the head of the array



86
87
88
89
90
# File 'lib/oxidized/nodes.rb', line 86

def get
  with_lock do
    (self << shift).last
  end
end