Class: SimpleRewriter::Rewriters::DateRewriter

Inherits:
Base
  • Object
show all
Defined in:
lib/simple_rewriter/rewriters/date_rewriter.rb

Direct Known Subclasses

ActiveSupport::TimeWithZoneRewriter

Constant Summary

Constants inherited from Base

Base::REGISTERED_OPTIONS

Instance Method Summary collapse

Methods inherited from Base

#initialize

Methods included from OptionsResolver

#any_option_passed?, #collect_values_from_options, #filtered_options, #resolve_options_with

Methods included from Generators

#date_generator, #default_address, #rand_num, #random_address, #random_city, #random_email, #random_first_name, #random_hex, #random_last_name, #random_name, #random_phonenumber, #random_sample_pdf, #random_street, #random_zip, #string_generator

Constructor Details

This class inherits a constructor from SimpleRewriter::Rewriters::Base

Instance Method Details

#generateObject



2
3
4
# File 'lib/simple_rewriter/rewriters/date_rewriter.rb', line 2

def generate
  random_date
end