Sha256: a5255a4f6304b543fc86a0fb39898cc0d3f5a47d125cbce5d151c7477fd1ae3d
Contents?: true
Size: 528 Bytes
Versions: 1
Compression:
Stored size: 528 Bytes
Contents
require "characterize/version" require "characterize/controller" require "casting" module Characterize def self.included(klass) klass.class_eval { include Casting::Client delegate_missing_methods } end def viewable? !!view end def view @view end def __set_view__(obj) @view = obj self end end require 'active_record' class ActiveRecord::Base include Characterize end require 'action_controller' class ActionController::Base include Characterize::Controller end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
characterize-0.0.1 | lib/characterize.rb |