Skip to content

1.2.0

Latest
Compare
Choose a tag to compare
@Convincible Convincible released this 08 Oct 14:57
· 1 commit to master since this release
92c2ca0

Breaking feature update which revises how coercion works, resolving potential bugs and conflicts.

  • to_hash, to_array and to_struct methods have been removed.
  • Hash, Array and Struct classes now have a to() method (as well as the current from() method).
    • Use Hash.from(object) or object.to(Hash) (or use with Array or Struct or types of Struct; and where object is a variable of one of these types).