module ActsAsSpan

Constants

OPTIONS

Public Class Methods

configure() { |self| ... } click to toggle source
# File lib/acts_as_span.rb, line 30
def configure
  yield(self) if block_given?
end
options() click to toggle source
# File lib/acts_as_span.rb, line 22
def options
  @options ||= {
    :start_field => :start_date,
    :end_field => :end_date,
    :name => :default
  }
end