Module: Requested

Included in:
ActionDispatch::Request
Defined in:
lib/requested/action.rb,
lib/requested.rb

Overview

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Defined Under Namespace

Modules: ClassMethods, InstanceMethods Classes: Action

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



22
23
24
25
# File 'lib/requested.rb', line 22

def self.included(base)
  base.extend ClassMethods
  base.send :include, InstanceMethods
end