some initial work to using rocco for documentation

This commit is contained in:
2011-05-06 00:42:22 +01:00
parent 8a027bbff8
commit a7da13fb82
12 changed files with 306 additions and 169 deletions

View File

@@ -1,7 +1,25 @@
require 'rubygems'
# encoding: utf-8
require 'rubygems'
require 'active_support'
require 'time_ext/version'
# [Calculation][ca] methods such as `#floor`, `#ceil`, `#round`,
# `#prev_week` and many more, adding on top of the defaults present in
# ActiveSupport.
# [ca]: time_ext/calculations.html
require 'time_ext/calculations'
# [Iteration][it] methods allowing the use of `#each`, `#map_each` and more on
# Time objects similar to how you loop over an Array of items.
# [it]: time_ext/iterations.html
require 'time_ext/iterations'
require 'time_ext/support'
# Core extention of [Time][ti] class to load in [Calculation][ca] and
# [Iteration][it] modules.
# [ti]: time_ext/core_ext/time.html
require 'time_ext/core_ext/time'
# Core extention of [Numeric][nu] class to set a couple of required aliases.
# [nu]: time_ext/core_ext/numeric.html
require 'time_ext/core_ext/numeric'