class Sheaf::Stack::RootClass

Public Instance Methods

==(other) click to toggle source
# File lib/sheaf/stack.rb, line 14
def ==(other)
  object_id == other.object_id
end
add(*args, &block) click to toggle source
# File lib/sheaf/stack.rb, line 6
def add(*args, &block)
  Stack.new(*args, &block)
end
call(*args) { |*args| ... } click to toggle source
# File lib/sheaf/stack.rb, line 10
def call(*args)
  yield(*args) if block_given?
end
each() click to toggle source
# File lib/sheaf/stack.rb, line 18
def each; end