2 3 4
# File 'lib/or2d/patches/renderable.rb', line 2 def to_entity OR2D::Entity.new(:entity, { resource: self }) end