Class: Sheaf::Stack::RootClass
Constant Summary
Constants inherited
from Sheaf::Stack
Root, SWYM
Instance Method Summary
collapse
[], build, #fmap, #initialize, new, #to_a, #to_s
Constructor Details
This class inherits a constructor from Sheaf::Stack
Instance Method Details
#==(other) ⇒ Object
14
15
16
|
# File 'lib/sheaf/stack.rb', line 14
def ==(other)
object_id == other.object_id
end
|
#add(*args, &block) ⇒ Object
6
7
8
|
# File 'lib/sheaf/stack.rb', line 6
def add(*args, &block)
Stack.new(*args, &block)
end
|
#call(*args) {|args| ... } ⇒ Object
10
11
12
|
# File 'lib/sheaf/stack.rb', line 10
def call(*args)
yield(*args) if block_given?
end
|
#each ⇒ Object
18
|
# File 'lib/sheaf/stack.rb', line 18
def each; end
|