Class: MCP::MCBool
- Inherits:
-
BinData::Primitive
- Object
- BinData::Primitive
- MCP::MCBool
- Defined in:
- lib/mcp/types.rb
Instance Method Summary collapse
Instance Method Details
#get ⇒ Object
66 |
# File 'lib/mcp/types.rb', line 66 def get; return self.data != 0; end |
#set(a) ⇒ Object
67 |
# File 'lib/mcp/types.rb', line 67 def set(a); self.data = a; end |