lib/Koyaaan.rb in Koyaaan-0.1.3 vs lib/Koyaaan.rb in Koyaaan-0.1.4

- old
+ new

@@ -1,20 +1,23 @@ -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 +require "Koyaaan/version" +require "Koyaaan/convert" +require "Koyaaan/convert_random" +require "Koyaaan/statuses_controller" + +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