Class: Aliyun::Log::Record::TypeCasting::Value
- Inherits:
-
Object
- Object
- Aliyun::Log::Record::TypeCasting::Value
- Defined in:
- lib/aliyun/log/record/type_casting.rb
Direct Known Subclasses
BigDecimalType, DateTimeType, DateType, FloatType, IntegerType, JsonType, StringType
Instance Method Summary collapse
- #cast(value) ⇒ Object
- #dump(value) ⇒ Object
-
#initialize(options) ⇒ Value
constructor
A new instance of Value.
Constructor Details
#initialize(options) ⇒ Value
Returns a new instance of Value.
45 46 47 |
# File 'lib/aliyun/log/record/type_casting.rb', line 45 def initialize() = end |
Instance Method Details
#cast(value) ⇒ Object
49 50 51 |
# File 'lib/aliyun/log/record/type_casting.rb', line 49 def cast(value) value end |
#dump(value) ⇒ Object
53 54 55 |
# File 'lib/aliyun/log/record/type_casting.rb', line 53 def dump(value) value end |