Sha256: 8dc6c0e637d6431891d54c5266c335c3e707c570932498b56345f0b708ef2133

Contents?: true

Size: 370 Bytes

Versions: 1

Compression:

Stored size: 370 Bytes

Contents

require "characterize/version"
require "characterize/controller"
require "casting"
require 'characterize/railtie' if defined?(::Rails)

module Characterize
  def self.included(klass)
    klass.class_eval {
      include Casting::Client
      delegate_missing_methods
    }
  end
  
  def view
    @view
  end
  
  def __set_view__(obj)
    @view = obj
    self
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
characterize-0.0.2 lib/characterize.rb