Permalink
Browse files

hid a bunch of internal modules from YARD with @private tags

  • Loading branch information...
1 parent cb2f045 commit 2f81ae4461e3cd0975c3caea3550a7b091dcb286 @justinfrench committed Jan 18, 2011
@@ -1,5 +1,6 @@
module Formtastic
module Helpers
+ # @private
module FieldsetWrapper
protected
@@ -1,5 +1,6 @@
module Formtastic
module Helpers
+ # @private
module FileColumnDetection
def is_file?(method, options = {})
@@ -1,6 +1,7 @@
module Formtastic
# Quick hack/shim for anything expecting the old SemanticFormHelper module.
# TODO remove from 2.0 with a helpful upgrade path/warning.
+ # @private
module SemanticFormHelper
include Formtastic::Helpers::FormHelper
@@builder = Formtastic::Helpers::FormHelper.builder
@@ -1,4 +1,5 @@
module Formtastic
+ # @private
module HtmlAttributes
protected
@@ -1,6 +1,7 @@
# encoding: utf-8
module Formtastic
+ # @private
module I18n
DEFAULT_SCOPE = [:formtastic].freeze
@@ -1,4 +1,5 @@
module Formtastic
+ # @private
module LocalizedString
protected
@@ -5,6 +5,7 @@
require 'rails'
module Formtastic
+ # @private
class Railtie < Rails::Railtie
initializer 'formtastic.initialize', :after => :after_initialize do
ActionView::Base.send :include, Formtastic::Helpers::FormHelper
@@ -1,8 +1,8 @@
module Formtastic
+ # @private
module Reflection
# If an association method is passed in (f.input :author) try to find the
# reflection object.
- #
def reflection_for(method) #:nodoc:
@object.class.reflect_on_association(method) if @object.class.respond_to?(:reflect_on_association)
end
@@ -1,6 +1,7 @@
module Formtastic
# Quick hack/shim so that any code expecting the old SemanticFormBuilder class still works.
# TODO remove from 2.0 with a helpful upgrade path/warning.
+ # @private
class SemanticFormBuilder < Formtastic::FormBuilder
end
end
@@ -2,6 +2,7 @@
# Adapted from the rails3 compatibility shim in Haml 2.2
module Formtastic
+ # @private
module Util
extend self
## Rails XSS Safety

0 comments on commit 2f81ae4

Please sign in to comment.