Class: Range
- Inherits:
-
Object
- Object
- Range
- Defined in:
- lib/zenaton/refinements/range.rb
Overview
Reimplements ‘json/add/range`
Class Method Summary collapse
-
.from_zenaton(props) ⇒ Object
Parse from simple hash.
Class Method Details
.from_zenaton(props) ⇒ Object
Parse from simple hash
20 21 22 |
# File 'lib/zenaton/refinements/range.rb', line 20 def self.from_zenaton(props) new(*props['a']) end |