Class: StreetFighter::Left

Inherits:
EitherValue show all
Defined in:
lib/street_fighter/left.rb

Instance Attribute Summary

Attributes inherited from EitherValue

#value

Instance Method Summary collapse

Methods inherited from EitherValue

#==, #failable, #initialize

Constructor Details

This class inherits a constructor from StreetFighter::EitherValue

Instance Method Details

#bind(func) ⇒ Object



12
13
14
# File 'lib/street_fighter/left.rb', line 12

def bind func
  self
end

#match(other) ⇒ Object

>> (then)



3
4
5
6
# File 'lib/street_fighter/left.rb', line 3

def match other # >> (then)
  EitherCheck.new(other).run!
  self
end

#tournament(*fns) ⇒ Object



8
9
10
# File 'lib/street_fighter/left.rb', line 8

def tournament *fns
  self
end