Sha256: 9996fcf44e392c1ea2bb1e8eb8a144cbaae6b8dbb84807bb2591c013d0f07f26
Contents?: true
Size: 427 Bytes
Versions: 52
Compression:
Stored size: 427 Bytes
Contents
class Marty::DeloreanRuleView < Marty::BaseRuleView include Marty::Extras::Layout def self.klass Marty::DeloreanRule end def self.base_fields super + [:rule_type, :start_dt, :end_dt] end attribute :start_dt do |c| c.width = 150 c.format = 'Y-m-d H:i' end attribute :end_dt do |c| c.width = 150 c.format = 'Y-m-d H:i' end attribute :rule_type do |c| c.width = 200 end end
Version data entries
52 entries across 52 versions & 1 rubygems