Skip to content

Instantly share code, notes, and snippets.

@adkron
Forked from mark/CreditInclusionType::Null.rb
Last active December 24, 2015 14:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adkron/6815435 to your computer and use it in GitHub Desktop.
Save adkron/6815435 to your computer and use it in GitHub Desktop.
class CreditInclusionType < IDontCare
Null = Object.new
class << Null
def by_term?
false
end
def by_credits?
false
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment