Sha256: 757aedaddebdd8f6049f587f76effae9373e7da7477ad13a8cd58f764f8266aa

Contents?: true

Size: 426 Bytes

Versions: 44

Compression:

Stored size: 426 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

44 entries across 44 versions & 1 rubygems

Version Path
marty-9.5.1 app/components/marty/delorean_rule_view.rb
marty-9.5.0 app/components/marty/delorean_rule_view.rb
marty-9.3.3 app/components/marty/delorean_rule_view.rb
marty-9.3.2 app/components/marty/delorean_rule_view.rb
marty-9.3.0 app/components/marty/delorean_rule_view.rb
marty-8.5.0 app/components/marty/delorean_rule_view.rb
marty-8.4.1 app/components/marty/delorean_rule_view.rb
marty-8.3.1 app/components/marty/delorean_rule_view.rb
marty-8.2.0 app/components/marty/delorean_rule_view.rb
marty-8.0.0 app/components/marty/delorean_rule_view.rb
marty-6.1.0 app/components/marty/delorean_rule_view.rb
marty-5.2.0 app/components/marty/delorean_rule_view.rb
marty-5.1.4 app/components/marty/delorean_rule_view.rb
marty-5.1.3 app/components/marty/delorean_rule_view.rb
marty-5.1.2 app/components/marty/delorean_rule_view.rb
marty-5.1.1 app/components/marty/delorean_rule_view.rb
marty-5.1.0 app/components/marty/delorean_rule_view.rb
marty-3.1.0 app/components/marty/delorean_rule_view.rb
marty-3.0.1 app/components/marty/delorean_rule_view.rb
marty-4.0.0.rc2 app/components/marty/delorean_rule_view.rb