Add section elements

This commit is contained in:
2015-03-01 12:57:20 +01:00
parent 832f80e20e
commit 275b4524bc
62 changed files with 10388 additions and 124 deletions
@@ -0,0 +1,11 @@
module SvgElementDefaults
extend ActiveSupport::Concern
included do
property :svg
property :name
property :dpm, type: Float, default: 300
property :box_width, type: Float, default: 300
property :box_height, type: Float, default: 300
validates :dpm, numericality: {greater_than: 0}
end
end