Module: Ribbon::CoreExtensions::Hash
- Defined in:
- lib/ribbon/core_extensions/hash.rb
Overview
Includes methods to convert hashes to ribbons.
Instance Method Summary collapse
-
#to_raw_ribbon ⇒ Ribbon::Raw
Converts this hash to a raw ribbon.
-
#to_ribbon ⇒ Ribbon
(also: #to_rbon)
Converts this hash to a ribbon.
Instance Method Details
#to_raw_ribbon ⇒ Ribbon::Raw
Converts this hash to a raw ribbon.
25 26 27 |
# File 'lib/ribbon/core_extensions/hash.rb', line 25 def to_raw_ribbon Ribbon.wrap self end |