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.5.2 app/components/marty/delorean_rule_view.rb
marty-2.5.1 app/components/marty/delorean_rule_view.rb
marty-2.5.0 app/components/marty/delorean_rule_view.rb
marty-2.4.9 app/components/marty/delorean_rule_view.rb
marty-2.4.8 app/components/marty/delorean_rule_view.rb
marty-2.4.7 app/components/marty/delorean_rule_view.rb
marty-2.4.6 app/components/marty/delorean_rule_view.rb
marty-2.4.5 app/components/marty/delorean_rule_view.rb
marty-2.4.4 app/components/marty/delorean_rule_view.rb
marty-2.4.3 app/components/marty/delorean_rule_view.rb
marty-2.4.2 app/components/marty/delorean_rule_view.rb
marty-2.4.1 app/components/marty/delorean_rule_view.rb
marty-2.4.0 app/components/marty/delorean_rule_view.rb
marty-2.3.15 app/components/marty/delorean_rule_view.rb
marty-2.3.14 app/components/marty/delorean_rule_view.rb
marty-2.3.13 app/components/marty/delorean_rule_view.rb
marty-2.3.12 app/components/marty/delorean_rule_view.rb
marty-2.3.11 app/components/marty/delorean_rule_view.rb
marty-2.3.10 app/components/marty/delorean_rule_view.rb
marty-2.3.9 app/components/marty/delorean_rule_view.rb