Class: Aliyun::Log::Record::TypeCasting::Value

Inherits:
Object
  • Object
show all
Defined in:
lib/aliyun/log/record/type_casting.rb

Instance Method Summary collapse

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(options)
  @options = options
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