module OntologyUnited::Stack
Public Instance Methods
current()
click to toggle source
# File lib/ontology-united/stack.rb, line 8 def current stack[-1] end
parent()
click to toggle source
# File lib/ontology-united/stack.rb, line 12 def parent stack[-2] end
stack()
click to toggle source
# File lib/ontology-united/stack.rb, line 4 def stack @stack ||= [] end