Flowdock
method

apply

Importance_0
v4.2.7 - Show latest stable - 0 notes - Class: TypeDecorator
apply(name, type) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/attribute_decorators.rb, line 46
      def apply(name, type)
        decorations = decorators_for(name, type)
        decorations.inject(type) do |new_type, block|
          block.call(new_type)
        end
      end
Register or log in to add new notes.