class SmartSeeds::Generator::Time

Public Class Methods

new(column, model) click to toggle source
Calls superclass method SmartSeeds::Generator::Base::new
# File lib/smart_seeds/generator/time.rb, line 5
def initialize(column, model)
  super
end

Public Instance Methods

generate_value() click to toggle source
# File lib/smart_seeds/generator/time.rb, line 9
def generate_value
  DateTime.now.to_time
end