Libraries
»
wishdev-rio
(0.4.3.1)
»
Index
»
RIO
»
Mode
»
StrMethods
»
#allows_both?
Method: RIO::Mode::StrMethods#allows_both?
Defined in:
lib/rio/iomode.rb
#
allows_both?
⇒
Boolean
83
# File 'lib/rio/iomode.rb', line 83
def
allows_both?
(
)
@mode
[
-1
,
1
]
==
'+'
end