Skip to content

v0.6.5

Compare
Choose a tag to compare
@amancevice amancevice released this 17 Aug 12:42
· 58 commits to main since this release
c9aca2d

Added Hash#to_struct and Hash#to_deep_struct in yake/support:

{ f: 'g', a: { d: 'e', b: 'c' } }.to_struct
# => #<OpenStruct f="g", a={:d=>"e", :b=>"c"}>

{ f: 'g', a: { d: 'e', b: 'c' } }.to_deep_struct
# => #<OpenStruct f="g", a=#<OpenStruct d="e", b="c">>

Added String#utc in yake/support:

'2009-02-13T23:31:30Z'.utc
# => 2009-02-13 23:31:30 UTC