Class: Range

Inherits:
Object
  • Object
show all
Defined in:
lib/zenaton/refinements/range.rb

Overview

Reimplements ‘json/add/range`

Class Method Summary collapse

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