Kiss A simpler, smarter web application framework for Ruby

Time Subclass of Object

Methods

Public Class Methods

old_parse(*args, &block) source

Alias for parse

parse(*args, &block) source

Not documented

    # File lib/kiss/model.rb, line 160
    def parse(*args, &block)
      return SequelZeroTime.new(args[0]) if args[0] =~ /0000/
      old_parse(*args, &block)
    end
    
Also aliased as: old_parse

Public Instance Methods

<(value) source

Not documented

    # File lib/kiss/model.rb, line 176
  def <(value)
    (value == 0 || value.is_a?(SequelZeroTime)) ? false : super(value)
  end
    
<=(value) source

Not documented

    # File lib/kiss/model.rb, line 179
  def <=(value)
    (value == 0 || value.is_a?(SequelZeroTime)) ? false : super(value)
  end
    
==(value) source

comparision operators

    # File lib/kiss/model.rb, line 167
  def ==(value)
    (value == 0 || value.is_a?(SequelZeroTime)) ? false : super(value)
  end
    
>(value) source

Not documented

    # File lib/kiss/model.rb, line 170
  def >(value)
    (value == 0 || value.is_a?(SequelZeroTime)) ? true : super(value)
  end
    
>=(value) source

Not documented

    # File lib/kiss/model.rb, line 173
  def >=(value)
    (value == 0 || value.is_a?(SequelZeroTime)) ? true : super(value)
  end
    

Disabled; run with $DEBUG to generate this.