class VirtualTime::TimeLocationConverter
- VirtualTime::TimeLocationConverter
- Reference
- Object
Overview
A custom to/from YAML converter for Time::Location.
Defined in:
virtualtime.crClass Method Summary
- .from_yaml(value : YAML::ParseContext, node : YAML::Nodes::Node) : Time::Location
- .from_yaml(value : String | IO) : Time::Location
- .to_yaml(value : Time::Location, yaml : YAML::Nodes::Builder)
Class Method Detail
def self.from_yaml(value : YAML::ParseContext, node : YAML::Nodes::Node) : Time::Location
#