Class: TD::Types::JsonValue::Number

Inherits:
TD::Types::JsonValue show all
Defined in:
lib/tdlib/types/json_value/number.rb

Overview

Represents a numeric JSON value.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#valueFloat

The value.

Returns:

  • (Float)

    the current value of value



5
6
7
# File 'lib/tdlib/types/json_value/number.rb', line 5

def value
  @value
end