Skip to content

Instantly share code, notes, and snippets.

@mark
Created October 3, 2013 19:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mark/6815422 to your computer and use it in GitHub Desktop.
Save mark/6815422 to your computer and use it in GitHub Desktop.
class CreditInclusionType < IDontCare
Null = Object.new.tap do |null|
class << null
def by_term?
false
end
def by_credits?
false
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment