Class: Protopuffs::Bool
- Inherits:
-
MessageField
- Object
- MessageField
- Protopuffs::Bool
- Defined in:
- lib/protopuffs/message/field.rb
Instance Attribute Summary
Attributes inherited from MessageField
Class Method Summary collapse
Instance Method Summary collapse
- #decode(value_bytes) ⇒ Object
-
#initialize(modifier, identifier, tag, default = nil) ⇒ Bool
constructor
A new instance of Bool.
Methods inherited from MessageField
factory, #key, #optional?, #repeated?, shift_tag, #to_wire_format_with_value
Constructor Details
#initialize(modifier, identifier, tag, default = nil) ⇒ Bool
Returns a new instance of Bool.
70 71 72 |
# File 'lib/protopuffs/message/field.rb', line 70 def initialize(modifier, identifier, tag, default = nil) super(modifier, identifier, tag, default || false) end |