Module: Tins::GO::EnumerableExtension

Includes:
Enumerable
Defined in:
lib/tins/go.rb

Instance Method Summary collapse

Instance Method Details

#each(&block) ⇒ Object



11
12
13
14
# File 'lib/tins/go.rb', line 11

def each(&block)
  @arguments.each(&block)
  self
end

#push(argument) ⇒ Object Also known as: <<



4
5
6
7
8
# File 'lib/tins/go.rb', line 4

def push(argument)
  @arguments ||= []
  @arguments.push argument
  self
end