class Class

Load an instance of class from zenaton properties

Public Class Methods

from_zenaton(props) click to toggle source

Parse from simple hash

# File lib/zenaton/refinements/class.rb, line 20
def self.from_zenaton(props)
  Object.const_get(props['n'])
end