--Apple-Mail=_E081CE1C-8D6C-48A5-A34D-94F2314DCEBA
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_7DA80529-6DD3-4B93-A5C7-467FEB75B18B"


--Apple-Mail=_7DA80529-6DD3-4B93-A5C7-467FEB75B18B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

On Dec 21, 2013, at 15:53 , Jim Wise <jwise / draga.com> wrote:


> For what it=92s worth, boolean operations can be implemented the same =
way (and may be in a future version of this gem):

Or rather, to maintain the short-circuit behavior of or:

class TrueClass
  def or
    self
  end
end

class FalseClass
  def or
    yield
  end
end

x.or {y}

(etc=85)


--=20
				Jim Wise
				jwise / draga.com





--Apple-Mail=_7DA80529-6DD3-4B93-A5C7-467FEB75B18B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">On Dec =
21, 2013, at 15:53 , Jim Wise &lt;<a =
href=3D"mailto:jwise / draga.com">jwise / draga.com</a>&gt; =
wrote:<br><div><br class=3D"Apple-interchange-newline"><br><blockquote =
type=3D"cite"><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: =
space; -webkit-line-break: after-white-space;"><div>For what it=92s =
worth, boolean operations can be implemented the same way (and may be in =
a future version of this gem):</div></div></blockquote><div><br></div>Or =
rather, to maintain the short-circuit behavior of =
or:</div><div><blockquote style=3D"margin: 0 0 0 40px; border: none; =
padding: 0px;"><div><br></div><div><span style=3D"font-family: 'Courier =
New';">class TrueClass</span></div><div><span style=3D"font-family: =
'Courier New';">&nbsp; def or</span></div><div><span style=3D"font-family:=
 'Courier New';">&nbsp; &nbsp; self</span></div><div><span =
style=3D"font-family: 'Courier New';">&nbsp; end</span></div><div><span =
style=3D"font-family: 'Courier New';">end</span></div><div><font =
color=3D"#0f61c8" face=3D"Courier New"><br></font></div><div><span =
style=3D"font-family: 'Courier New';">class =
FalseClass</span></div><div><span style=3D"font-family: 'Courier =
New';">&nbsp; def or</span></div><div><span style=3D"font-family: =
'Courier New';">&nbsp; &nbsp; yield</span></div><div><span =
style=3D"font-family: 'Courier New';">&nbsp; end</span></div><div><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space;"><div><font face=3D"Courier =
New">end</font></div><div><font face=3D"Courier =
New"><br></font></div><div><font face=3D"Courier New">x.or =
{y}</font></div><div><br></div></div></div></blockquote>(etc=85)</div><div=
><br></div><br><div apple-content-edited=3D"true">
<span class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px;"><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: 2; =
text-indent: 0px; text-transform: none; white-space: normal; widows: 2; =
word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
-webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px;  "><div style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; "><div><span class=3D"Apple-tab-span" =
style=3D"white-space: pre; ">-</span>-&nbsp;</div><div><span =
class=3D"Apple-tab-span" style=3D"white-space: pre; ">				=
</span>Jim Wise</div><div><span class=3D"Apple-tab-span" =
style=3D"white-space: pre; ">				</span><a =
href=3D"mailto:jwise / draga.com">jwise / draga.com</a></div><div><br></div></=
div></span><br class=3D"Apple-interchange-newline"></span><br =
class=3D"Apple-interchange-newline">
</div>
<br></body></html>=

--Apple-Mail=_7DA80529-6DD3-4B93-A5C7-467FEB75B18B--

--Apple-Mail=_E081CE1C-8D6C-48A5-A34D-94F2314DCEBA
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBAgAGBQJStgGWAAoJEIwgZoIS2AGg2PAP/Rj0dSY1NxCrTjbk0dPo9rp1
RL4W/eeZHRMPH0WsC9SjE3y/D/grG175+bOJ+5p/wdL+YFAMWoj/cLvrp1mbpASV
iGus1/OKOdBhK5EjjrLjUaJF0PJOnhjJIv4euFoOf0a6/Bl35O6UmTGwSUxMQM3o
AnzlS+0+VyW8X9/+W1OMIA4CYw3ND21Em4Hqu7Je5rZNoPlR3b3LtsfxN7M8pNnz
e3As2Nigf3AlkuG0sPfC2DopTgsoNeW3UqudLHzI0cE3mTR+5eF/as/pb6119Seq
DEq1CGvc5w1duYhfyFQUcw7leEuLDZP0mmhiCOH5ATfuRJdbynneMlsmZ56wYnMH
6HgymT8GIpqtLl3+OIxRmVZCVRF/uDbLLMVLBUDmw9fe3mLJXXaXIuJ/dUUCXjan
B6cr3l7QJWG4fFJbPZfnuPVVUk3tzvSfMtA0maT9g6zI+OOOotGwtKpWS6mxYEqM
P/0cMT9pMAHvW5SvSndv3awnbe/EggEdi0vZ+NsDBGy8mgiWmkqocDg+euXfNz/m
aBYyycQGDRbCe1DClM/4N6rhmp3o7Gxcw45kt6Z7reH8SrdY7OopZYDMGwIFYbYZ
ndhjAgh5lz7cVomdv+1zAcwuf29Z/w6ZerapZ4yXEUQgx8SGADeQXdKCHSOaF3B2
l48bKeoW1btqnr89U0V7
=DJJz
-----END PGP SIGNATURE-----

--Apple-Mail=_E081CE1C-8D6C-48A5-A34D-94F2314DCEBA--