End of day commit

This commit is contained in:
2015-02-18 22:36:47 +01:00
parent 82670f271b
commit c1858455e9
68 changed files with 633 additions and 145 deletions
+23
View File
@@ -0,0 +1,23 @@
NullObject = Naught.build do |config|
config.black_hole
config.define_explicit_conversions
config.define_implicit_conversions
end
class NullObject
def presence
nil
end
def present?
false
end
def blank?
true
end
def empty?
true
end
def any?
false
end
end