module Nofly

Constants

VERSION

Public Class Methods

for(obj, options = {}) click to toggle source
# File lib/nofly.rb, line 3
def self.for(obj, options = {})
  begin
    Nofly.const_get("#{obj.class.to_s}Nofly").new(obj, options)
  rescue
    raise "Cannot nofly that. Have you forgotten to create a nofly event library for '#{obj.class.to_s}?'"
  end
end