Sha256: 443db0461b3a1c042b12a525651f43507019193f94c81cab539d2d083a4e5f1e
Contents?: true
Size: 268 Bytes
Versions: 11
Compression:
Stored size: 268 Bytes
Contents
module Plasticine class BaseVisual def initialize(params) @params = params @from = params[:from] ? Time.parse(params[:from]) : nil @to = params[:to] ? Time.parse(params[:to]) : Time.now @step = params[:step] || 'month' end end end
Version data entries
11 entries across 11 versions & 1 rubygems