Class: TD::Types::OptionValue::Boolean

Inherits:
TD::Types::OptionValue show all
Defined in:
lib/tdlib/types/option_value/boolean.rb

Overview

Represents a boolean option.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#valueBoolean

The value of the option.

Returns:

  • (Boolean)

    the current value of value



5
6
7
# File 'lib/tdlib/types/option_value/boolean.rb', line 5

def value
  @value
end