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

Version Path
marty-2.0.2 app/components/marty/delorean_rule_view.rb
marty-2.0.1 app/components/marty/delorean_rule_view.rb
marty-2.0.0 app/components/marty/delorean_rule_view.rb
marty-1.2.9 app/components/marty/delorean_rule_view.rb
marty-1.2.8 app/components/marty/delorean_rule_view.rb
marty-1.2.7 app/components/marty/delorean_rule_view.rb
marty-1.2.6 app/components/marty/delorean_rule_view.rb
marty-1.2.5 app/components/marty/delorean_rule_view.rb
marty-1.2.4 app/components/marty/delorean_rule_view.rb
marty-1.2.3 app/components/marty/delorean_rule_view.rb
marty-1.2.2 app/components/marty/delorean_rule_view.rb
marty-1.2.1 app/components/marty/delorean_rule_view.rb