Sha256: 38b81b187dfa0fc661ed183125b2c66f26987623a6c61fbe11f88cd6639ccd89
Contents?: true
Size: 267 Bytes
Versions: 14
Compression:
Stored size: 267 Bytes
Contents
module ChartCandy class BaseChart 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
14 entries across 14 versions & 1 rubygems