Methods

HashΒΆ

Hash(obj:NormalTypeInstance)

Get all attributes and their values as key-value pairs in the resulting Hash.

Returns

Hash

Example

(1..10).Hash()  # Hash {start=1, end=10, step=1}