Class: Mural::Widget::Shape
- Inherits:
-
Object
- Object
- Mural::Widget::Shape
- Includes:
- Codec
- Defined in:
- lib/mural/widget/shape.rb
Defined Under Namespace
Classes: Style
Class Method Summary collapse
Methods included from Codec
Class Method Details
.decode(json) ⇒ Object
27 28 29 30 31 |
# File 'lib/mural/widget/shape.rb', line 27 def self.decode(json) super.tap do |shape| shape.style = Style.decode(shape.style) end end |