Sha256: 3e669b32d7050f6086ffff71b738de4953e74c0fa4ad3bdb4bdea0f0162f26a8
Contents?: true
Size: 388 Bytes
Versions: 4
Compression:
Stored size: 388 Bytes
Contents
require "Koyaaan/version" module Koyaaan def self.setup(&proc) # create function for Monkey patch extend self ( class << self; self end).module_eval do define_method 'convert_toot', &proc # define_method 'b' do # p 'b' # end end # Monkey patch Api::V1::StatusesController.prepend(ApiV1StatusesControllerPatch) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
Koyaaan-0.1.3 | lib/Koyaaan.rb |
Koyaaan-0.1.2 | lib/Koyaaan.rb |
Koyaaan-0.1.1 | lib/Koyaaan.rb |
Koyaaan-0.1.0 | lib/Koyaaan.rb |